ラベル エラー の投稿を表示しています。 すべての投稿を表示
ラベル エラー の投稿を表示しています。 すべての投稿を表示

2020年7月8日水曜日

Win10isoをDVDに書き込めない

win10をSSDに入れ替えるために公式からディスクイメージをダウンロードしましたが
ディスクサイズが5.19GBもありました。

Macでインストールディスクを作ろうとしたのが悪いのか
win10が大きすぎます。

解決方法

公式でこの様に書かれていました。
>ISO ファイルを DVD に書き込む際、ディスク イメージ ファイルが大きすぎるというメッセージが表示された場合は、二層 (DL) DVD メディアを使用する必要があります

所感

普通のDVDに収まるサイズにしてください。。

2017年8月25日金曜日

サムネイル再出力中にエラーが発生しました ニコニコ

ニコニコに動画を投稿しようとしたらアップロードが100パーセントになってもサムネイルが選択できない。(真っ暗なサムネを選択して投稿完了をするとエラーが起きる。

調査結果

どうやら原因はニコニコはアップロード表記が100パーセントなってもアップロードが完了していないらしい。適当に予想時間を計算してシークが進む仕様になっている。

解決方法

アップロードが終わるまで待つ。いつ終わるかは回線速度を計算するしかない。

所感

他の動画サイトではこんな適当な仕様はないので非常に紛らわしい。
待ち時間の計算や表示の実装は難しい(めんどくさい)の知っていますが。。

2017年3月29日水曜日

itunes経由でios10.3のアップデートに失敗する

ios10.3に更新しようとしたところ。
ネットワークのタイムアウトでダウンロードに失敗します。
毎回残り1GBくらいのタイミングで切れてしまいます。

問題なのはosアップデート時、itunesにレジューム機能が無い。
ダウンロードを一時停止ボタンがあるにもかかわらず、一時停止すると初めからやり直しになります。

解決方法

根気よくなんども挑戦・・・
携帯のみでアップデートをするのはおすすめしません。
月の利用パケット量を1日でオーバーするからです。

アップデート後

全体的に処理が早くなったような?

2016年10月10日月曜日

processing symbol files xcodeエラー

XCodeをアップデート後、アプリをアップロードしようとした際にエラーが発生しました。
processing symbol files xcodeエラー

解決方法?


  1. Apple developerコンソールから開発者のプロファルをダウンロード
  2. ios_distribution-2.cerをダブルクリック
  3. 再度アップロード画面に戻りtyragenボタンを押す

開発者アカウントを更新した直後だったので原因は不明です。

2016年9月8日木曜日

GooglePlayGameServiceをXCodeビルドする際のメモ

GooglePlayGameServiceをXCodeビルドする際のメモ

1,cocoapodsのインストール

cd プロジェクト(xcodeprojのあるところ)
sudo gem install cocoapods
pod install
以下ログ
Setting up CocoaPods master repo
CocoaPods 1.1.0.beta.2 is available.
To update use: `sudo gem install cocoapods --pre`
[!] This is a test version we'd love you to try.

For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.1.0.beta.2

Setup completed
Analyzing dependencies
Downloading dependencies
Installing GoogleAppUtilities (1.1.1)
Installing GoogleAuthUtilities (2.0.1)
Installing GoogleNetworkingUtilities (1.2.1)
Installing GooglePlayGames (5.1.1)
Installing GooglePlusOpenSource (1.7.1)
Installing GoogleSignIn (4.0.0)
Installing GoogleSymbolUtilities (1.1.1)
Installing GoogleUtilities (1.3.1)
Generating Pods project
Integrating client project
https://developers.google.com/identity/sign-in/ios/start-integrating
[!] Please close any current Xcode sessions and use `Unity-iPhone.xcworkspace` for this project from now on.

以下XCodeの修正

2. XCodeにフレームワーク追加

      AddressBook.framework
      AssetsLibrary.framework
      CoreData.framework
      CoreTelephony.framework
      CoreText.framework
      Security.framework
      libc++.dylib
      libz.dylib
拡張子が変更されています。
dylib >> tbd ios9mod

3. XCodeにフレームワーク追加 other

      GoogleOpenSource.framework
      GoogleSignId.bundle
      GoogleSignId.framework
      gpg.bundle
      gpg.framework
ダウンロードリンク
https://developers.google.com/games/services/downloads/sdks
https://developers.google.com/identity/sign-in/ios/sdk/
https://developers.google.com/+/mobile/ios/upgrading-sdk

4. Other Linker Flags に値を追加

  -ObjC

5、Enable BitcodeをNoにする

6、インポート文の修正

importを以下のようにする
<GoogleSignIn/GIDSignIn.h>
<GoogleSignIn/...>
4か所あります。

以下エラーと修正情報

・Unknown type name '__declspec'
NORETURN 削除 エラー箇所の行頭を削除

GoogleOpenSource.framework/GoogleOpenSource(GTLDateTime.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
・clang: error: linker command failed with exit code 1 (use -v to see invocation)
Build Settings>Build Options>Enable Bitcode =noにする

・Could not launch “app name XXX”
process launch failed: failed to get the task for process -1
Build Settings>Build Options>Provisioning Profileを設定

・Apple Mach-O Linker (ld) Error Group
clang: error: linker command failed with exit code 1 (use -v to see invocation)
CocoaPodsを使用しているプロジェクトは”.xcodeproj”でなく”.xcworkspace”から開きます。

・[super application:application didRegisterForRemoteNotificationsWithDeviceToken:deviceToken];
行を削除
プッシュ通知とバックグラウンドの設定。

プッシュ通知用のプロファイルを作成。

そこからキーチェーンで証明書を右クリックして書き出ししてパスワード付きのp12を作る。開発用と製品用の二つが必要。
作成したp12をグーグル開発コンソールのゲームサービスに登録する。
オブジェクトC用のソースをUnityに貼り付ける。

info.plistの設定

  <key>NSCameraUsageDescription</key>
    <string>マルチプレイに使用します</string>

2016年9月6日火曜日

Xcode7へアップグレード後に幾つかのエラー

Xcode7へアップグレード後に幾つかのエラーが発生。

対処方法まとめ


Unknown type name '__declspec'
NORETURN 削除 エラー箇所の行頭を削除

linker command failed with exit code 1 (use -v to see invocation)
Build Settings>Build Options>Enable Bitcode =noにする

Could not launch “app name XXX”
process launch failed: failed to get the task for process -1
Build Settings>Build Options>Provisioning Profileを設定

2016年2月19日金曜日

Unity エラー Can't add

unityでスクリプトをオブジェクトに追加しようとしたところ以下のエラーが発生。
Can't add script component 'HTLMMu' because the script class cannot be found. Make sure that there are no compile errors and that the file name and class name match.
スクリプトのクラスが見つからないため、スクリプトコンポーネント「スクリプトファイル」を追加することはできません。何のコンパイルエラーとファイル名とクラス名が一致することをがないことを確認してください。

原因

よく見たらスクリプトファイル名が一文字違いました。。

2015年9月11日金曜日

itunes connectで新規iOS Appが表示されない

新規にアプリを登録しようとしたところ。
マイアプリの+を押しても新規iOS Appの項目が無い。。
開発者登録の期限切れかなと、確認してみたところ。
契約が変わりました同意してくださいとのことです。
契約更新後に再度ログインすることで新規app登録ができるようになります。


  • 契約の更新

Review the Paid Applications Schedule.
The iOS paid applications schedule (“iOS Schedule 2”) and the Mac paid application Agreement schedule (“Mac Schedule 2”) have been combined into a single Schedule 2 covering both programs, and the Custom B2B schedules (“Schedule 3”) for iOS and Mac have been combined as well. To create new paid apps and in-app purchases and upload binaries to the App Store, the user with the Legal role must review and accept the Paid Applications Schedule (Schedule 2 to the Apple Developer Program License Agreement) in the Agreements, Tax, and Banking module.

To accept this agreement, the user with the Team Agent role must have already accepted the Apple Developer Program License Agreement in the Member Center.
銀行口座などの情報を入力していませんでした。

  •  Banking Information

Please confirm the banking information provided, certify below and click Save to proceed.
If any of the information is incorrect, click Cancel to return to the previous page and edit the account details.
よく見ると左上にチェックボックスがあります。チェックしてsaveを押せば進めます

2015年8月7日金曜日

Xcodeエラー:iTunes Store operation failed. No suitable application records were found Verify your bundle identifier 'boundle name' is correct

アプリを新規にリリースする際に以下のエラーが発生。
iTunes Store operation failed. No suitable application records were found Verify your bundle identifier 'boundle name' is correct XXXXXXX
どうやらitunes connectで先にアプリ画面の登録をしないといけないようです。
「iTunes Store operation failed」系のエラーはitunes connectの設定ミスが多いです。

2015年6月11日木曜日

dyld: Symbol not found: _EmptyCustomAttributesCache

iosシュミレーターでプラグインを実行したところ以下のエラーが発生しました。

dyld: Symbol not found: _EmptyCustomAttributesCache
  Referenced from: /Users//Library/Developer/CoreSimulator/Devices/4E2EAB24-9CA2-41D1-B221-187D421F2FC3/data/Containers/Bundle/Application/4ADFFF69-2DBF-4893-BBDE-EB7BD1201C61/.app/
  Expected in: flat namespace

 in /Users//Library/Developer/CoreSimulator/Devices/4E2EAB24-9CA2-41D1-B221-187D421F2FC3/data/Containers/Bundle/Application/4ADFFF69-2DBF-4893-BBDE-EB7BD1201C61/.app/

フォーラムの記事を読んだところ。プラグインはシュミレーターではサポートできないとのことです。
andoroidでの開発に比べると色々手間がかかるなぁ。。

2015年6月8日月曜日

Undefined symbols for architecture arm64: "_UnityRegisterProInterface", referenced from:

xcodeでarchive作成時に以下のエラーが発生。
Undefined symbols for architecture arm64:   "_UnityRegisterProInterface", referenced from:
どうやらunity側での設定漏れがあったようです。

解決方法

unityのplayer settingsのinspectorでiOSのタブを選択し、other settingsを開く。
ScriptingBackendをIL2CPPにする。
architectureを選択ユニバーサルにする。

2015年6月7日日曜日

Warning: Error creating LLDB dyld: Symbol not found: __ZN5metal16g_CurrentEncoderE

UnityのプロジェクトをiOSシュミレータで実行したところ。
xcodeでビルドは成功。
シュミレーターでのアプリ実行に失敗。
以下がエラーログです。
Warning: Error creating LLDB target at path '/Users//Library/Developer/Xcode/DerivedData/Unity-iPhone-cdzaxllpfxblllaqhylpgxdwievn/Build/Products/Debug-iphonesimulator/.app'- using an empty LLDB target which can cause slow memory reads from remote devices.
dyld: Symbol not found: __ZN5metal16g_CurrentEncoderE
  Referenced from: /Users//Library/Developer/CoreSimulator/Devices/4E2EAB24-9CA2-41D1-B221-187D421F2FC3/data/Containers/Bundle/Application/EEDFDB72-C836-487B-B1FC-8267C8942334/.app/Expected in: flat namespace

Unityの公式フォーラムを確認したところUnityバージョン5.0.2f1のバグだそうです。
http://forum.unity3d.com/threads/ios8-xcode6-compatibility.249533/page-4
>__ZN5metal16g_CurrentEncoderE
Unity公式「これはこちらの問題です」

GADUInterstitial.h Use of '@import' when modules are disabled

unityでAdMobのプラグインを使用したとこと以下のエラーが発生
GADUInterstitial.h Use of '@import' when modules are disabled
GADUInterstitial.h Use of '@import' when modules are disabled
モジュールが有効になっていないらしい

解決方法

Enable Modules(Cなんとか)をYESにする

2015年1月4日日曜日

エラーが起きたため、“JavaControlPanel”環境設定パネルを削除できませんでした。

環境はmac mini 2014 yosemiteです。
java7を削除後にシステム環境設定にjava項目が残ってしまうことがあります。
項目を右クリックから削除しようとすると"エラーが起きたため、“JavaControlPanel”環境設定パネルを削除できませんでした。”と表示されて削除できません。

解決方法

ターミナルから以下のコマンドを実行する。
sudo rm /Library/PreferencePanes/JavaControlPanel.prefpane
※ログインパスワードが必要です。ターミナルの起動はこちら/Applications/Utilities/Terminal.app

2014年12月20日土曜日

unity4.6.1のinputでキーボードのカーソルキーとスペースキーの組み合わせが機能しない。

unity4.6.1で開発中にunityのバグを発見しました。
矢印キー(左と上カーソル同時押し)中にスペースキーが反応しません。
"←+↑+space"のspaceだけinputの入力が拾えません。
他の組み合わせは問題なく入力できます。
スペースキー以外を使えば問題ありません。
jisキーボードのせいかも?

2014年11月25日火曜日

mac yosemite 日本語入力バグ

日本語入力がとつぜん大文字英数に切り替わることがあります。
ソフトを開きなおすことで一時的に解決します。
どうやらIMEの変換機能のバグのようなので、
設定画面のキーボードから変換学習のリセットを行うと直るかもしれません。

2014年11月24日月曜日

unity: 定数の修正が反映されない

publicにしている定数の初期値をソース側で変更しても反映されないことがあります。
これはインスペクタ側の初期値が優先されるためです。
そのため、ゲームオブジェクトにpublic定数を含むスクリプトを貼り付けた際に使用していた定数の値がインスペクタ上で生き続けています。
インスペクタに依存、表示させないようになるには”HideInInspector”を変数の上につけます。

使用例

public class クラス名 : MonoBehaviour {
[HideInInspector]
public int TEISU=100;//インスペクタに表示されなくなる
}

2014年11月22日土曜日

"_OBJC_CLASS_$_EKEvent", referenced from:

広告を表示するアプリで以下のエラーが発生・

"_OBJC_CLASS_$_EKEvent", referenced from:

解決方法

フレームワークの追加で解決します。
EventKit.framework
EventKitUI.framework

2014年11月21日金曜日

xcodeエラー:Warning: Error creating LLDB target at path

64ビットのisoシュミレーターを使用すると以下のワーニング?エラーが発生します。

Warning: Error creating LLDB target at path '/Users/yuuki/Library/Developer/Xcode/DerivedData/Unity-iPhone-efzkqwujfknmbrclodikqenirxdl/Build/Products/XXXX.app'- using an empty LLDB target which can cause slow memory reads from remote devices.
ようは32ビット向けのアプリだと性能を発揮できないということです。
arm7(64)でコンパイルをすれば表示されなくなります。
64ビットを指定したからといって32ビット機でアプリが使えないわけではないようです。
32ビットと64ビットアプリが両方作成されるようです。

2014年11月19日水曜日

unityエラー: "_NSSQLiteStoreType", referenced from:

GooglePlayGameServicePluginを使用したxcodeprojectで以下のエラーが発生。
"_NSSQLiteStoreType", referenced from:
CoreData.framework を追加することで解決します。