iOS
Developer account: https://developer.apple.com/account
Register device UDID: https://developer.apple.com/account/resources/devices/list
App Store Connect: https://appstoreconnect.apple.com
How to check or set the minimum iOS supported version: https://stackoverflow.com/questions/29736871/setting-the-minimum-ios-version-in-xcode
With an ipa file, you can unarchive (it's a zip) you'll get an .app file. Right click to the .app file to show it's content. At the Info.plist, check the field MinimumOSVersion
.
DevCleaner for Xcode: https://apps.apple.com/us/app/devcleaner/id1388020431
CLI
simctl commands: xcrun simctl
or xcrun simctl help
List simulators: xcrun simctl list devices
Start a simulator: open -a Simulator --args -CurrentDeviceUIDI <simulator UDID>
Delete unused simulators data in ~/Library/Developer/CoreSimulator/Devices
to free up disk space: xcrun simctl delete unavailable
. From https://stackoverflow.com/a/42703818/4034572
Simulator
Images are located in ~/Library/Developer/CoreSimulator/Devices/81F9EF8A-486B-4F85-8BED-7131C2EF0500/data/Containers/Shared/AppGroup/D97F65BC-4921-486A-B89D-9A6ADA5DFC34
.
Get a simulator ID: xcrun simctl list | egrep '(Booted)'
Info.plist
Certificates
From https://docs.expo.dev/app-signing/app-credentials/#summary
Credential | Limit Per Account | App-specific? | Can be revoked with no production side effects? | Used at... |
---|---|---|---|---|
Distribution Certificate | 2 | ❌ | ✅ | Build time |
Push Notification Key | 2 | ❌ | ❌ | Run time |
Provisioning Profile | Unlimited | ✅ | ✅ | Build time |
Test push notifications on the simulator
From https://stackoverflow.com/questions/61855874/how-to-test-pushnotification-in-ios-simulator-xcode
Create a file pushtest.apns
:
{
"Simulator Target Bundle": "<bundle identifier of the app>",
"aps": {
"alert": "Push Notifications Test",
"sound": "default",
"badge": 1
}
}
xcrun simctl push <simulator identifier> <bundle identifier of the app> pushtest.apns"
Universal links (verified deep links)
Validate apple-app-site-association: https://branch.io/resources/aasa-validator/
Example of AASA file: https://facebook.com/.well-known/apple-app-site-association
Test deep links (only works on the simulator): xcrun simctl openurl booted "https://example.com/xyz"