XCodeへのアカウント登録およびプロビジョニング登録







Profile(プロビジョニングファイル)とCertificatesのダウンロード
appleDeveloper問合せ
Xcodeビルド時にキーチェーンアクセスが何度も表示される
Invoking xcodeBuid 時にキーチェーンアクセスが繰り返される
visual studio code
distoribution


Develop


XCode
distoribution
Appcelerator でコンパイルされたファイルをダブルクリックしXcode起動


Develop

試しにiPhoneアプリを作ってみた




チームを選択


DeveloperとしてiPhoneへ正常にインストールできた
対策方法





多分Xcodeの設定だと思う
Provisioning Profile(プロビジョニング・プロファイル)

ダウンロードしたファイルをダブルクリックする
Provisioning Profiles % pwd
/Users/user/Library/MobileDevice/Provisioning Profiles
Provisioning Profiles %
Provisioning Profiles % ls -la
total 16
drwxr-xr-x 3 user staff 96 2 21 17:57 .
drwxr-xr-x 3 user staff 96 2 21 17:57 ..
-rw-r--r-- 1 user staff 7466 2 21 17:57 57690038-25da-4155-be42-21fe5a604a0a.mobileprovision
Provisioning Profiles %

Provisioning Profiles % ls -la
total 48
drwxr-xr-x 4 misadmin staff 128 2 22 23:28 .
drwxr-xr-x 3 misadmin staff 96 2 21 17:57 ..
-rw-r--r-- 1 misadmin staff 12391 2 22 23:28 388fa131-4395-437f-ae43-ec6ca711400d.mobileprovision
Provisioning Profiles %
既存の秘密鍵を別のMacで使う
既存の秘密鍵を書き出す
キーチェーンを起動し、書き出す秘密鍵をマウスで選択する

マウスで選択した秘密鍵上で、マウスを右クリックし、「”秘密鍵名”を書き出す」を選択する。

保存するファイル名入力し「保存」ボタンを押す




別のMacに秘密鍵を取り込む
コピーしてきた秘密鍵のファイルをダブルクリックし、キーチェーンに取り込む





Apple キーチェーン証明書エラー 証明書は信頼されていません
Apple キーチェーン証明書エラー 証明書は信頼されていません

Titanium Modules
Appcelerator iOS 現在のバージョン状況
mac OS
~ % date
2022年 2月16日 水曜日 16時33分16秒 JST
~ %
~ % sw_vers
ProductName: macOS
ProductVersion: 12.2.1
BuildVersion: 21D62
~ %
Appcelerator version
~ % date
2022年 2月 7日 月曜日 18時29分10秒 JST
~ %
~ % appc ti use
Appcelerator Command-Line Interface, version 9.0.1
Copyright (c) 2014-2022, Appcelerator, Inc. All Rights Reserved.
[ERROR] "use" is an unrecognized command.
Did you mean this?
sdk
Run 'titanium.js help' for available commands.
misadmin@emuaiesunomakkunoMac-mini ~ % appc use
The following versions are available:
5.3.0 Not Installed
:
<省略>
:
9.0.0 Not Installed
9.0.1 Installed (Latest) (Active)
~ % appc ti sdk list
Appcelerator Command-Line Interface, version 9.0.1
Copyright (c) 2014-2022, Appcelerator, Inc. All Rights Reserved.
SDK Install Locations:
/Library/Application Support/Titanium
/Users/misadmin/Library/Application Support/Titanium [default]
Installed SDKs:
10.1.1.GA [selected] 10.1.1.v20211118090922 /Users/misadmin/Library/Application Support/Titanium/mobilesdk/osx/10.1.1.GA
8.0.2.GA 8.0.2.v20190617094142 /Users/misadmin/Library/Application Support/Titanium/mobilesdk/osx/8.0.2.GA
~ % node -v
v12.22.9
~ %
~ %

Nodeバージョンアップ
~ % fnm install v14.19.0
Installing Node v14.19.0 (x64)
~ % fnm default v14.19.0
~ %
インストールされている現在バージョン
~ % fnm list
* v12.22.9
* v14.19.0 default
* system
~ % fnm env
export PATH="/Users/misadmin/Library/Caches/fnm_multishells/2135_1644285776099/bin":$PATH
export FNM_MULTISHELL_PATH="/Users/misadmin/Library/Caches/fnm_multishells/2135_1644285776099"
export FNM_VERSION_FILE_STRATEGY="local"
export FNM_DIR="/Users/misadmin/Library/Application Support/fnm"
export FNM_LOGLEVEL="info"
export FNM_NODE_DIST_MIRROR="https://nodejs.org/dist"
export FNM_ARCH="x64"
rehash
~ % node -v
v14.19.0
~ %
Apple Developer
Appcelerator [WARN] The app is using native modules [ERROR] ** BUILD FAILED **
[INFO] Invoking xcodebuild
[WARN] The app is using native modules (ti.compression) that do not support arm64 simulators, we will exclude arm64. This may fail if you're on an arm64 Apple Silicon device.
[ERROR] ** BUILD FAILED **
[ERROR] The following build commands failed:
[ERROR] Ld /Users/misadmin/Documents/git/Smash2022Step1/SmashMgCnct_and_ios/SmashMgCnct_client/build/iphone/build/Products/Debug-iphonesimulator/SmashMgCnct.app/SmashMgCnct normal (in target 'SmashMgCnct' from project 'SmashMgCnct')
[ERROR] (1 failure)
Process exited with 1
ターミナル プロセスが終了コード 1 で終了しました。
モジュール (ti.compression)が、現在の Appcelerator SDK バージョンに一致していない
https://github.com/appcelerator-modules/ti.compression/releases

最新バージョンをダウンロード

ダウンロードしたファイルをプロジェクトのルートに配置

コンパイルを実行し、モジュールを展開する
