2016-06-29

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

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

2016-06-29

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...

2016-05-27

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 -...

2016-05-27

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

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

2016-05-25

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...

2016-05-25

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

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

2016-05-24

[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 ...

2016-05-24

[Cocos2d-x Android] to_string でエラー

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

2016-05-23

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 ...

2016-05-23

Genymotion でアプリがクラッシュ

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

2016-05-22

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...

2016-05-22

Cocos2d-x Android 実機エラー

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

2016-05-21

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...

2016-05-21

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

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

2016-05-20

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...

2016-05-20

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

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

2016-05-19

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 ...

2016-05-19

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

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

2016-05-09

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...

2016-05-09

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

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

2016-05-07

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 -...

2016-05-07

カンタン Xcode ビルド高速化

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

2016-05-06

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...

2016-05-06

cocos2d v2.1 で実行エラー

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

2016-05-05

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 ...

2016-05-05

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

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

2016-05-03

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...

2016-05-03

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

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

2016-05-02

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...

2016-05-02

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

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

2016-05-01

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...

2016-05-01

Cocos2d-x 3.10 セットアップ

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

2016-04-30

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/

2016-04-30

Apple 公式リンクメーカー

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

2016-04-29

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...

2016-04-29

Web ページが取れないとき

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

2016-04-27

Warning about supportedInterfaceOrientations

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

2016-04-27

supportedInterfaceOrientations で警告

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

2016-04-26

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

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

2016-04-24

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

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

2016-04-23

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, ...

2016-04-23

アプリ申請時のエラー

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

2016-04-22

ブログはじめました

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

2016-04-22

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...