Everything's automatically managed by Xcode, so I'm not sure what has changed. Not sure why out of the blue the provisioning profile is missing the code-signing certificate. For more information, visit the iOS Developer Portal. A Distribution Provisioning profile should be used when submitting apps to the App Store. The provisioning profile included in the bundle fm. is invalid. Since last night to today there's been no changes in the project, but we're getting this: Yesterday everything was fine, but builds triggered today, start failing. We've been running Xcode Cloud smoothly for the last few months, and everything's been great. This errors are coming but they are not restricting build in manual process Build successfully created but archive got failure.ĮRROR: Old-style type encoding is unsupported in attribute string "%s" for property %s\n", attrString, property_getName(property)) ĮRROR: Could not read class name in attribute string "%s" for property %s\n", attrString, property_getName(property)) Ĭommand PhaseScriptExecution emitted errors but did not return a nonzero exit code to indicate failureĮRROR: Unrecognized attribute string flag '%c' in attribute string "%s" for property %s\n", flag, attrString, property_getName(property)) ĮRROR: Unable to load PhoneNumberMetadata.json resource: (error.localizedDescription)")ĮRROR: Expected attribute string "%s" for property %s to start with 'T'\n", attrString, property_getName(property)) ĮRROR: Invalid type in attribute string "%s" for property %s\n", attrString, property_getName(property)) ĮRROR: Could not get attribute string from property %s\n", property_getName(property)) ĮRROR: Could not read past type in attribute string "%s" for property %s\n", attrString, property_getName(property)) ĮRROR: Could not allocate awsmtl_propertyAttributes structure for attribute string "%s" for property %s\n", attrString, property_getName(property)) I can create and export build to appstore manually.but I am facing issues while uploading build to testflight using xcloud. My question is, do I do everything correctly? Is there a way to improve this flow? Do I miss on how to correctly get code coverage data from Xcode Cloud? Ideally, Xcode Cloud's Build and Test actions should generate code coverage (the option is already enabled in our project) and give us access to profile data in DerivedData folder which I can access with environment variable CI_DERIVED_DATA_PATH. It all works fine but my team and I think that this is a workaround that shouldn't work like this, because technically xcodebuild command is executed two times, first by Xcode Cloud, then by my script, which takes a lot of time and feels hacky. # run sonar scanner and upload coverage data with the current app version WORKSPACE_NAME=$ > sonarqube-coverage.report Get app version, (c) run xcodebuild again with forced code coverage reporting, (d) find coverage data and convert it to the format that Sonarqube understands, and finally (e) run sonar-scanner, which uploads results to Sonarqube dashboard. Then, in post-xcodebuild script, I do three things: (a) get current app version, (b) I was able to get code coverage and sonar-scanner working with Xcode Cloud.įirst in, in post-clone script I install sonar-scanner tool like this Has anyone else run into this issue recently? T22:36:04.915743970Zĝ("/Volumes/workspace/tmp/XcodeDistPipeline/XcodeDistPipeline.~~~LNLf0B/Root/Payload/Fedigardens.app: replacing existing signature\n/Volumes/workspace/tmp/XcodeDistPipeline/XcodeDistPipeline.~~~LNLf0B/Root/Payload/Fedigardens.app: Operation not permitted\n") T22:36:04.914761632Z /Volumes/workspace/tmp/XcodeDistPipeline/XcodeDistPipeline.~~~LNLf0B/Root/Payload/Fedigardens.app: Operation not permitted T22:36:04.914691936Z error: exportArchive: codesign command failed (/Volumes/workspace/tmp/XcodeDistPipeline/XcodeDistPipeline.~~~LNLf0B/Root/Payload/Fedigardens.app: replacing existing signature T22:36:04.870197463Z 15:36:03.163 xcodebuild DVTServices: Platform " iOS" is provisioning with the following filtered set of entitlements, "" T22:36:04.870127483Z 15:36:03.163 xcodebuild DVTServices: No capabilities user data file found for team, appID Optional("") and appIDType DVTPortalAppIDType(rawValue: 0) Looking into the logs, I notice this small section (redacted sensitive information): There was a suggestion to try removing the entitlements file, but that didn't change anything. I looked at some forum posts here to look for similar behaviors, but it's mixed. Locally, I'm able to build, archive, and publish normally, and Xcode Cloud can still run unit tests just fine. I've noticed that, as of a couple of weeks ago (8 July 2023 for me), I'm unable to export my iOS app via Xcode Cloud for TestFlight.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |