I. Upload IOS to App Store by xcrun
1. Generate .ipa file with signed.
Product -> archive
2. move to ipa folder
3. check ipa file
2. move to ipa folder
3. check ipa file
xcrun altool --validate-app --file "$IPA_PATH" --username "$APP_STORE_USERNAME" --password "sjjkh-asjdkh-asjkdh"
password: get from appleid.apple.com/account/manage
APP-SPECIFIC PASSWORD (one time pass)
4. Upload file
xcrun altool --upload-app --file "$IPA_PATH" --username "$APP_STORE_USERNAME" --password "sjjkh-asjdkh-asjkdh" --verbose
ex: xcrun altool --upload-app --file "Citypost2020.ipa" --username "techhub@citypost.com.vn" --password "isub-wxzt-aqvs-apav" --verbose
II. Error when build IOS ionic
1. Install cordova-res when you get error
sudo npm i -g cordova-res --unsafe-perm
2. Error when run emulate or device
sudo npm install @ionic/app-script@latest --save-dev
3. Error node-sass
npm rebuild node-sass
4. Error when take picture "Thread 5: signal SAGABRT" and location: Edit info plist
go to TARGET -> Info -> add (+) key -value
Privacy - Camera Usage Description : Chụp ảnh báo phát
Privacy - Location Always Usage Description : Định vị báo phát
Privacy - Location When In Use Usage Description Định vị báo phát
4. Error when take picture "Thread 5: signal SAGABRT" and location: Edit info plist
0 nhận xét:
Đăng nhận xét