アプリアップロード時に “Unexpected Machine Code”

iPhone アプリをアップロードした際に、いつもと違うメールが届きました。 また、当該アプリのバージョンを iTunes Connect で追加する際、ページの上部に「!」マークが表示されていました。 1週間ほど前に同様の作業をした際には、特に問題はありませんでした。 ...

What is “Unexpected Machine Code”?

I got message as the subject from iTunes connect when app was uploaded. Also, I saw strange red exclamation mark without any massages on to...

How to add Genymotion plugin to Android Studio

An emulator on Android Studio is super slow, so I recommend to use Genymotion instead. Open Android Studio Top menu: Android Studio ->...

Genymotion を Android Studio から使えるようにするための設定メモ

Android Studio からインストールできるエミュレーターは起動が遅くとても重いので、Genymotion を使えるように設定します。 Android Studio を起動 上メニュー Android Studio -> Preferences を選択 ...

Error for string [Cocos2d-x Android]

Here may be an error blog. Well, this time is so easy. The error log error: 'string' in namespace 'std' does not name a ty...

[Cocos2d-x Android] string を使うとコンパイルでエラー

メッセージ error: 'string' in namespace 'std' does not name a type 対応 下記を該当箇所に追加します。 #include <string> 参考 https:...

[Cocos2d-x Android] Error about to_string.

Using std::to_string() will be getting error! How many times does cocos2d-x take me errors? According to an excellent developer, it's ...

[Cocos2d-x Android] to_string でエラー

Cocos2d-x Android プロジェクトで std::to_string() を使うと、コンパイル時にエラーが出ます。 メッセージ error: 'to_string' was not declared in this scope 対応 ...

Crash on Genymotion emulator

Cocos2d-x app getting crash on Genymotion virtual device. The situation Create Cocos2d-x project as below. cocos new TestingProject -p ...

Genymotion でアプリがクラッシュ

Genymotion で Cocos2d-x アプリを実行すると、クラッシュしました。 状況 Cocos2d-x プロジェクトを新規作成 cocos new TestingProject -p com.TestingProject -l cpp Genymotion...

Cocos2d-x project getting an error on Android device

Compiled Cocos2d-x project and run on Android device, then getting an error! How is the situation? Executed command $ cocos run -s ./Te...

Cocos2d-x Android 実機エラー

Cocos2d-x プロジェクトをデバイスで実行すると、強制終了します。 状況 実行コマンド $ cocos run -s ./TestingProject -p android エラーログ java.lang.UnsatisfiedLinkError: Canno...

Error Cocos2d-x Android project again!

Cocos2d-x project takes an error again. A thing what I did The command. $ cocos compile -s ./TestingProject -p android The reply. It w...

Cocos2d-x Android コンパイルエラー2

前回に引き続き Cocos2d-x プロジェクトを実行すると、エラーが出ました。 状況 実行コマンド $ cocos compile -s ./TestingProject -p android メッセージ BUILD FAILED /Users/(UserName...

New Cocos2d-x Android project gets error!

I created new project with Cocos2d-x, and compile it then... Error! 2 solutions in this case. What's happend Executed command. $ co...

Cocos2d-x Android コンパイルエラー1

新規作成した Cocos2d-x プロジェクトを実行すると、エラーになりました。対応方法が2つあります。 状況 実行コマンド $ cocos compile -s ./TestingProject -p android メッセージ make: /Users/(Use...

Installation Cocos2d-x for Android

This is for using Android Studio. Check existing Java Input this command in terminal. javac -version The reply is... javac 1.x.x_xx ...

Cocos2d-x で Android 環境セットアップ

Android Studio でのセットアップ手順です。 Java をチェック ターミナルでコマンドを入力します。 javac -version 結果が表示されます。 javac 1.x.x_xx No Java runtime present, request...

How to call Objective-C method from C++

I know the way of calling Objective-C method from C++ file without connecting file for them. Check this below and you will notice how easy i...

C++ から Objective-C の処理を呼ぶ方法

できるだけ簡単かつファイルを分割せず C++ から Objective-C の処理を呼び出したい場合、以下のように実装できます。この方法は Cocos2d-x でも有効です。 構成 SubView.h (呼ばれる側のヘッダファイル) // C++ から呼ばれるクラスを宣...

Improves build time using Xcode.

Improves build time using Xcode.
Do you still wait so long for building on Xcode? What should I do? Change the setting like this below. TARGETS -> Build Settings -&...

カンタン Xcode ビルド高速化

カンタン Xcode ビルド高速化
Xcode でのビルド時間を短縮します。 対応 以下の設定を変更します。 TARGETS -> Build Settings ->Build Options -> Debug Information Format Debug を DWARF with...

Crashed cocos2d 2.1 on Xcode 7.3

cocos2d 2.1with Xcode 7.3 means getting crash! Environment cocos2d for iPhone 2.1 Xcode 7.3 What's happened. Build app with coc...

cocos2d v2.1 で実行エラー

cocos2d 2.1を Xcode 7.3 でビルドし実行するとエラーが出ます。 環境 cocos2d for iPhone 2.1 Xcode 7.3 状況 実行時にクラッシュします。 cocos2d: ERROR: Failed to compile s...

Screenshots on mac

* The image will be saved on your desktop Your whole screen command (⌘) + shift + 3 Key Just a window command (⌘) + shift + 4 Key ...

Mac でスクリーンショットを撮りたい場合

※ 画像はデスクトップに保存されます。 画面全体 command (⌘) + shift + 3 キー ウインドウのみ command (⌘) + shift + 4 キーを押す スペースバーを押す 撮りたい画面をクリックする 右クリックメニューのみ...

How to make static library for Cocos2d-x

How to make static library for Cocos2d-x
You will easily notice building for Cocos2d-x is so slow. If you use static library for that, the building time will be much faster. Envi...

Cocos2d-x 静的ライブラリの作り方

Cocos2d-x 静的ライブラリの作り方
Cocos2d-x のプロジェクトは、ビルドにとても時間がかかります。 これを改善するために、Cocos2d-x のライブラリを予めビルドしておき、静的ライブラリとして利用します。 作業環境 Xcode 7.3 Cocos2d-x 3.10 1.プロジェクトを作...

Error just after installed Cocos2d-x

Installing Cocos2d-x is done, and run any project and then... what the hell is that! Environment Xcode 7.3 Cocos2d-x 3.10 (Without And...

Cocos2d-x インストール直後に即エラー

Cocos2d-x 3.10 をインストールし、テストプロジェクトを作って実行すると、すぐにエラーがでてやる気が無くなります。 以下、その対応です。 環境 Xcode 7.3 Cocos2d-x 3.10 のみインストール (Android 環境は無し) 症状...

Installation Cocos2d-x on mac

I installed just cocos2d-x 3.10 on OS X. It's simple. 1. Download Cocos2d-x Here you go. http://www.cocos2d-x.org/download You ca...

Cocos2d-x 3.10 セットアップ

Cocos2d-x のみを OS X にセットアップしました。 1. Cocos2d-x をダウンロード http://www.cocos2d-x.org/download ここから Cocos2d-x をダウンロードします。 今回は、現時点で最新の 3.10 です。...

Link Maker for iOS apps

If you want making an link icon for iOS apps, use this useful web site. https://linkmaker.itunes.apple.com/en-us/

Apple 公式リンクメーカー

アプリのリンクは、Apple 公式のリンクメーカーが便利で早く作れます。 日本語 https://linkmaker.itunes.apple.com/ja-jp/ 英語 https://linkmaker.itunes.apple.com/en-us/

Failed http connection in iOS 9

Failed http connection in iOS 9
In iOS apps, http connection is always fail from iOS 9, because of the access server does not contain App Transport Security(ATS). What&#...

Web ページが取れないとき

Web ページが取れないとき
iOS 9 より App Transport Security の基準を満たしていないサーバーとの通信が失敗するようになりました。 状況 NSString stringWithContentsOfURL の戻り値が null UIWebView loadRequest...

Warning about supportedInterfaceOrientations

Your iOS project might get warning supportedInterfaceOrientations on Xcode 7.0. The cause is just building for iOS 9. Conflicting return ...

supportedInterfaceOrientations で警告

Xcode 7.0 より、iOS 9 向けにビルドすると  supportedInterfaceOrientations で警告が出ます。 Conflicting return type in implementation of 'supportedInterfac...

deprecated in iOS 6.0 について(備忘録)

Xcode でビルドしたときに deprecated 〜 が出た場合の置換。 'presentModalViewController:animated:' is deprecated: first deprecated in iOS 6.0  ↓ [sel...

著作権の表示について調べました

結論 そもそも不要です。 理由 日本を含むほぼ全ての国が「無方式主義」を採用しているので、 書いても書かなくても自動的に著作権が発生するためです。 表記について 有名どころの表記を調べてみました。 © 2016 Google © 2016...

Getting an error when app upload

Getting an error when app upload
I got an error when my app uploaded to App Store. What's up Xcode. Xcode was 7.3 then. When I start Upload to App Store from Xcode, ...

アプリ申請時のエラー

アプリ申請時のエラー
アプリ申請時のアップロード作業中にエラーが出ました。 症状 Xcode のバージョンは 7.3 です。 Organizer でアプリの Validate が通り、最後の Upload to App Store... の際にエラーが出ます。 この状態で Upload...

ブログはじめました

アプリ開発で得た知識などを公開していきます。 エンジニア向けの情報がメインとなります。 App Store で F-NET Apps としてアプリをリリースしています。 https://fnet-apps.blogspot.com

Started tech blog!

Thanks for coming here. This blog is mainly for taking infos I got in making apps, and also hopefully will be tech blog to programmers. I w...