Post by fnllc on Nov 8, 2023 19:51:07 GMT
I'm getting the attached error message when trying to compile inside XCode 15.
I used the rake build:iphone:setup_xcode_project command to create the project.
Using iOS SDK 17 and XCode 15 (Rhodes 7.6 -> Latest on master branch):
----
build.yml:
name: "MyApp 2"
extensions:
- json
- rholang
- audiocapture
- mediacapture
- mediaplayer
- rhoconnect-client
# - fcm-push
# - development
capabilities:
- gps
- camera
- network_state
- vibrate
- sdcard
- hardware_acceleration
- push
env:
app: "/Users/username/Documents/MyApps/MyApp"
sdk: "/Users/username/GitHub/rhodes"
android:
minSDK: 33
targetSDK: 33
android_title: 0
manifest_template: "AndroidManifest.erb"
abis:
- arm
- aarch64
# - x86
version: "13.0"
emulator: "Pixel_7_Pro_API_33"
package_name: "com.myapps.myapp2"
build: "debug"
applog: "rholog.txt"
version: "4.1.8"
vendor: "My Apps"
sdkversion: "7.6"
# app_type: "rhoelements"
iphone:
ARCHS_device : ["arm64"]
enable_bitcode: false
iphone_use_new_ios7_status_bar_style: 1
provisioning_style: "Automatic"
development_team: "XXXXXXX"
BundleURLScheme: "myapp2"
BundleIdentifier: "com.myapps.myapp2"
sdk: "iphonesimulator17.0"
emulator: 17.0.1
emulatortarget: "iphone"
entitlements: ""
configuration: "Debug"
ipa_itunesartwork_image: "./production/iTunesArtwork.png"
## Note: Specifies the URL schemes the app is able to call using Rho.System.runApplication
## Note: Specifies list of HTTP domains for connect from application
## http_connection_domains:
## Note: Specifies set/modify of Info.plist keys with content(hash) - all of this items will be apply to final Info.plist of application. You can specify any Info.plist data in this parameter.
## this example content is equal of two upper parameters content (URLS schemes and HTTP domains) - you can use manually setup this parameters for more detailed setup instead default.
## in this example we show additional disable of perfect forward secrecy (PFS) for domain3(https)
info_plist_data:
NSAppTransportSecurity:
NSAllowsArbitraryLoads: false
NSAllowsArbitraryLoadsInWebContent: false
NSExceptionDomains:
localhost:
NSExceptionAllowsInsecureHTTPLoads: true
someurl.s3.amazonaws.com:
NSExceptionAllowsInsecureHTTPLoads: true
## NSExceptionDomains:
## coursewalkapp.com:
## NSIncludesSubdomains: true
## NSTemporaryExceptionAllowsInsecureHTTPLoads: true
NSBluetoothPeripheralUsageDescription: "App needs to use Bluetooth."
NSCalendarsUsageDescription: "App needs to use Calendar."
NSCameraUsageDescription: "Camera access is required to take pictures."
NSContactsUsageDescription: "App wants to use Contacts."
NSLocationAlwaysUsageDescription: "GPS access is required to record your course."
NSLocationWhenInUseUsageDescription: "GPS access is required to record your course."
NSMicrophoneUsageDescription: "Microphone access is required to record your voice notes."
NSMotionUsageDescription: "App needs to use Accelerometer."
NSPhotoLibraryUsageDescription: "Photo Library access is required to use photos in your library."
NSPhotoLibraryAddUsageDescription: "Photo Library access is required to add photos to your library."
NSRemindersUsageDescription: "App needs to use Reminders."
UIRequiresFullScreen: true
UIRequiredDeviceCapabilities:
- wifi
- location-services
UIBackgroundModes:
- location
- fetch
- remote-notifications
minify:
js: false
I used the rake build:iphone:setup_xcode_project command to create the project.
Using iOS SDK 17 and XCode 15 (Rhodes 7.6 -> Latest on master branch):
----
build.yml:
name: "MyApp 2"
extensions:
- json
- rholang
- audiocapture
- mediacapture
- mediaplayer
- rhoconnect-client
# - fcm-push
# - development
capabilities:
- gps
- camera
- network_state
- vibrate
- sdcard
- hardware_acceleration
- push
env:
app: "/Users/username/Documents/MyApps/MyApp"
sdk: "/Users/username/GitHub/rhodes"
android:
minSDK: 33
targetSDK: 33
android_title: 0
manifest_template: "AndroidManifest.erb"
abis:
- arm
- aarch64
# - x86
version: "13.0"
emulator: "Pixel_7_Pro_API_33"
package_name: "com.myapps.myapp2"
build: "debug"
applog: "rholog.txt"
version: "4.1.8"
vendor: "My Apps"
sdkversion: "7.6"
# app_type: "rhoelements"
iphone:
ARCHS_device : ["arm64"]
enable_bitcode: false
iphone_use_new_ios7_status_bar_style: 1
provisioning_style: "Automatic"
development_team: "XXXXXXX"
BundleURLScheme: "myapp2"
BundleIdentifier: "com.myapps.myapp2"
sdk: "iphonesimulator17.0"
emulator: 17.0.1
emulatortarget: "iphone"
entitlements: ""
configuration: "Debug"
ipa_itunesartwork_image: "./production/iTunesArtwork.png"
## Note: Specifies the URL schemes the app is able to call using Rho.System.runApplication
## Note: Specifies list of HTTP domains for connect from application
## http_connection_domains:
## Note: Specifies set/modify of Info.plist keys with content(hash) - all of this items will be apply to final Info.plist of application. You can specify any Info.plist data in this parameter.
## this example content is equal of two upper parameters content (URLS schemes and HTTP domains) - you can use manually setup this parameters for more detailed setup instead default.
## in this example we show additional disable of perfect forward secrecy (PFS) for domain3(https)
info_plist_data:
NSAppTransportSecurity:
NSAllowsArbitraryLoads: false
NSAllowsArbitraryLoadsInWebContent: false
NSExceptionDomains:
localhost:
NSExceptionAllowsInsecureHTTPLoads: true
someurl.s3.amazonaws.com:
NSExceptionAllowsInsecureHTTPLoads: true
## NSExceptionDomains:
## coursewalkapp.com:
## NSIncludesSubdomains: true
## NSTemporaryExceptionAllowsInsecureHTTPLoads: true
NSBluetoothPeripheralUsageDescription: "App needs to use Bluetooth."
NSCalendarsUsageDescription: "App needs to use Calendar."
NSCameraUsageDescription: "Camera access is required to take pictures."
NSContactsUsageDescription: "App wants to use Contacts."
NSLocationAlwaysUsageDescription: "GPS access is required to record your course."
NSLocationWhenInUseUsageDescription: "GPS access is required to record your course."
NSMicrophoneUsageDescription: "Microphone access is required to record your voice notes."
NSMotionUsageDescription: "App needs to use Accelerometer."
NSPhotoLibraryUsageDescription: "Photo Library access is required to use photos in your library."
NSPhotoLibraryAddUsageDescription: "Photo Library access is required to add photos to your library."
NSRemindersUsageDescription: "App needs to use Reminders."
UIRequiresFullScreen: true
UIRequiredDeviceCapabilities:
- wifi
- location-services
UIBackgroundModes:
- location
- fetch
- remote-notifications
minify:
js: false