Post

Replies

Boosts

Views

Activity

Reply to How to upload .ipa files to external services with XCode Cloud?
I got it working - turned out I needed to use one of the signed app paths, in my case CI_DEVELOPMENT_SIGNED_APP_PATH. The IPA is located within that directory, named .ipa. Here's the updated script: if [[ $CI_XCODEBUILD_ACTION = "archive" ]]; then ipaFileName="<app name>Build${CI_BUILD_NUMBER}.ipa" if [[ $CI_WORKFLOW = "ArchiveAndDistribute" ]]; then cd $CI_DEVELOPMENT_SIGNED_APP_PATH # add build number to file name for identification purposes mv <app name>.ipa $ipaFileName curl -u "$BROWSERSTACK_USERID:$BROWSERSTACK_APIKEY" -X POST "https://api-cloud.browserstack.com/app-live/upload" -F "file=@$ipaFileName" curl -u "$BROWSERSTACK_USERID:$BROWSERSTACK_APIKEY" -X POST "https://api-cloud.browserstack.com/app-automate/upload" -F "file=@$ipaFileName" elif [[ $CI_WORKFLOW = "Release build" ]]; then cd $CI_APP_STORE_SIGNED_APP_PATH mv MyAmfam.ipa $ipaFileName curl -u "$BROWSERSTACK_USERID:$BROWSERSTACK_APIKEY" -X POST "https://api-cloud.browserstack.com/app-live/upload" -F "file=@$ipaFileName" curl -u "$BROWSERSTACK_USERID:$BROWSERSTACK_APIKEY" -X POST "https://api-cloud.browserstack.com/app-automate/upload" -F "file=@$ipaFileName" fi fi
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’24
Reply to XCode errors when using Link in SwiftUI
I figured out the issue - there was a custom Link struct in the app I'm working on that takes precedence. Using SwiftUI.Link fixed the issue. Further explanation here: https://stackoverflow.com/questions/71698728/textfield-viewmodifier-not-conforming-to-viewmodifier
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’23