I'm creating a build to use in UI automation with the following xcodebuild command:
xcodebuild -scheme Test-QA \
-project $GITHUB_WORKSPACE/iosApp/Test.xcodeproj \
-sdk iphonesimulator \
-configuration ‘Debug QA’ \
-destination 'platform=iOS Simulator,name=iPhone 15,OS=latest' \
-derivedDataPath “/Users/test/build” \
clean build
Installed the app using 'xcrun simctl install booted /path/appfile.app'
Works fine on the original runners simulator and some other machines. However, when I try to run the .app file on the testing machine's simulator, it returns the following error:
xcrun simctl launch booted com.test.app.qa
An error was encountered processing the command (domain=FBSOpenApplicationServiceErrorDomain, code=1):
Simulator device failed to launch com.test.app.qa.
The request was denied by service delegate (SBMainWorkspace).
Underlying error (domain=FBSOpenApplicationServiceErrorDomain, code=1):
The request to open "com.test.app.qa" failed.
The request was denied by service delegate (SBMainWorkspace).
Console log :
Bootstrapping failed for <FBApplicationProcess: 0x103f9ca40; app<com.test.app.qa((null))>:<invalid>> with error: <NSError: 0x600000d22010; domain: RBSRequestErrorDomain; code: 5; "Launch failed."> {
NSUnderlyingError = <NSError: 0x600000d20600; domain: NSPOSIXErrorDomain; code: 1> {
NSLocalizedDescription = Launchd job spawn failed;
};
}
Additional Details: Both machines are running the same version of Xcode 15.4 and arm64. The simulator was reset to ensure a clean state. The same error persists even after rebooting the machines. Ensured that the bundle identifier is correct. Both devices have Rosetta installed.
What could be causing this error?
Dive into the vast array of tools, services, and support available to developers.
Post
Replies
Boosts
Views
Activity
Recently our app went through a series of Mobile App Penetration Test (MAPT), and was flagged with bypassed SSL Pinning (https://cwe.mitre.org/data/definitions/693.html).
The tester is using Frida and is able to attach to SSL_CTX_set_custom_verify() from libboringssl.dylib, as shown in this script (https://codeshare.frida.re/@federicodotta/ios13-pinning-bypass/).
As per my research, though I'm not absolutely sure, I see that boringSSL was added since iOS 11 (https://developer.apple.com/forums/thread/88387) and (https://github.com/firebase/firebase-ios-sdk/issues/314).
I would like to check if there is anyway around this, as I am using TrustKit (https://cocoapods.org/pods/TrustKit), and I realised many other pods also tag on SSL_CTX_set_custom_verify() for SSL Pinning.
As our app requires SSL Pinning, and a resolution to this issue, I would like to ask if there is any solution, whether it being a recommended pod/library, or a native solution (preferred) to do SSL Certificate Pinning.
Thank you.
im having trouble installing truffle. ive tried root/Administrator but then i get this. if anyone has any guidance that would greatly be appreciated.
this is what im getting.
% npm install -g truffle
npm error code EACCES
npm error syscall mkdir
npm error path /usr/local/lib/node_modules/truffle
npm error errno -13
npm error Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/truffle'
npm error at async mkdir (node:internal/fs/promises:858:10)
npm error at async /usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:624:20
npm error at async Promise.allSettled (index 0)
npm error at async [reifyPackages] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:325:11)
npm error at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:142:5)
npm error at async Install.exec (/usr/local/lib/node_modules/npm/lib/commands/install.js:150:5)
npm error at async module.exports (/usr/local/lib/node_modules/npm/lib/cli/entry.js:74:5) {
npm error errno: -13,
npm error code: 'EACCES',
npm error syscall: 'mkdir',
npm error path: '/usr/local/lib/node_modules/truffle'
npm error }
npm error
npm error The operation was rejected by your operating system.
npm error It is likely you do not have the permissions to access this file as the current user
npm error
npm error If you believe this might be a permissions issue, please double-check the
npm error permissions of the file and its containing directories, or try running
npm error the command again as root/Administrator.
npm error A complete log of this run can be found in: /Users/prestonlofton/.npm/_logs/2024-07-10T00_46_51_500Z-debug-0.log
prestonlofton@Prestons-Air ~ % sudo rm -rf /Library/Developer/CommandLineTools
Password:
Sorry, try again.
Password:
prestonlofton@Prestons-Air ~ % sudo Xcode-select --install
xcode-select: note: install requested for command line developer tools
prestonlofton@Prestons-Air ~ % npm install -g truffle 5.0.2
npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/5.0.2 - Not found
npm error 404
npm error 404 '5.0.2@*' is not in this registry.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
npm error A complete log of this run can be found in: /Users/prestonlofton/.npm/_logs/2024-07-10T00_54_22_459Z-debug-0.log
Today I installed Xcode 16 Beta 3. I have the watchOS 11 simulator installed on my Mac. When building my watch app with Xcode Beta 3 I am getting the following error.
/Applications/Xcode-16-beta-3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Library/Application Support/MessagesApplicationStub/MessagesApplicationStub.xcassets: No simulator runtime version from [<DVTBuildVersion 21F79>] available to use with iphonesimulator SDK version <DVTBuildVersion 22A5307d>
I have no idea what those assets are for but they aren't part of my project.
I tried generating a new standalone watch app project using Xcode 16 Beta 3 and I am getting the same error message so this isn't something particular to my original watch project.
Any help on how to fix this issue is appreciated.
Hello,
Do Apple root certificates AppleRootCA-G2.cer and AppleRootCA-G3.cer expire?
if yes, in how long?
thanks in advance.
I have two remote Swift Packages (call them A & B). B depends on A, and package B is declared as a dependency in the app project.
I have set up Xcode Cloud for this project so that it builds an archive when there is a change to the main branch. This works fine.
I also want to set up Xcode Cloud workflows to run tests when there are changes to either the repos of A or B. Both Bitbucket repositories of A and B are listed as primary repositories for the project (in the Xcode Cloud tab) and both have been granted access.
So far I've only gotten this working for package B, where the condition is a pull request against the main branch. So this works fine too. However, for package A, Xcode Cloud is not picking up any pull requests, so it's not triggering the action for the workflow.
The problem I see is that when I look at the repository settings on Bitbucket, there is no "https://appstoreconnect.apple.com/ci/webhook/bitbucket" webhook in A's repository. There is one for the repository for B and the project. Why not for A?
Has anyone run into this issue, or know how to fix it? The webhook URL contains an ID that must be provided by Apple when configuring the repos or the Xcode Cloud workflows, so I don't think there's anything I can do manually.
Any help would be appreciated!
I'm a contractor. Not an app store/Mac expert. A few years ago I connected my Apple account to a team I was working with. They set me up as the Account Holder for their team. I forgot all about that, and today I want to set up a new team for another contract, so I reactivated my Developer account.
I find I'm still the Account Holder for that old project, and I don't see how to create a new Team and switch to it. (I did send a request for someone to take over the old team, but who knows when they'll get to that, if ever.)
All I need is to create a couple of signing certs, but not for the old team.
Hi there,
I successfully created an AppIntent for our app, and when I had it in the same target as our main app it showed up fine in the shortcuts app.
Then I realized that many of the new System Control widgets introduced in iOS 18 (e.g. lockscreen, control center) live in the widget extension target, but they also need to reference that same AppIntent. So to fix this, I thought I'd migrate out the code into it's own SPM package that both the WidgetExtension and the Main App processes can reference. However, after doing that and rebuilding, the intent no longer shows up in the Shortcuts app. Furthermore, my AppShortcutsProvider class now has this error when trying to define the list of appShortcuts:
App Intent <name> should be in the same target as AppShortcutsProvider
Is this intended, and if so, how do we reference the same AppIntent across multiple targets?
Is it possible to have device bound passkeys on ios and iPadOS?
I've been trying to create a new app for an hour but it always reply like
"An error has occurred. Try again later."
Am I the only one who is getting this error message? Please let me know.
Hello,
I am trying for a few days to get daily reports for a specific app_id but it seems the process is not working. I manage to get a list of my apps, then of my current reports, but when I try to request a https://api.appstoreconnect.apple.com/v1/analyticsReportInstances/{id} from the report list I am returning above I get a 404. I was wondering if you have any actual guide on how to get daily reports updated from the api for a specific type (downloads or installs for example)?
I cannot select my newly uploaded build in app store connect for review. The UI to select a different build is just gone. I have reached out to apple and they said they are aware and fixing it but its been a week since and nothing has changed.
I uploaded a build to be reviewed to app store connect, and it got rejected due to an issue with connecting to my server. I discovered the issue was that my server was using http rather than https and apple doesn't allow this. I including things in my info.plist to allow the http connection, and I think this could be what triggered this app store connect issue, but I think xCode would have told me there was info.plist issue with my build while trying to upload it so I don't know. I have since migrated my app to https and uploaded a new build and I still can't select it to be reviewed. Anyone else have any similar issues?
Hi,
I am getting following error from following command, although I am 100% sure that I am entering the right credentials:
Command:
xcrun notarytool store-credentials "MY_PROFILE" --apple-id “***” --team-id "yyy" --password "zzz"
Error:
Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. Use the app-specific password generated at appleid.apple.com. Ensure that all authentication arguments are correct.
***->https://appleid.apple.com/account/manage/email and phone number -> apple id email (email address used for developer account)
yyy->https://developer.apple.com/account#MembershipDetailsCard/Team ID -> 10 digit nummer
zzz->https://appleid.apple.com/account/manage/App-Specific Passwords created and used
I just copy pasted every single item from the defined locations above.
I would appreciate for an answer.
Best Regards
It's quite annoying (maybe it's only my personal interests). Some apps or the macOS system always create ~/Applications/asr directory and create some txt files in it.
asr20240708_1638030_0.txt
{"type":"asr","wp_version":"","easr_version":"e792c1d2b4b5055e56fb902dfefdb483802041cc_Thu_Dec_30_17:18:43_2021_+0800","spil_version":"","wpe_version":"","vad_version":"9db42b766a4bc4e853bfa3fd2f846bf931d6c05f_Wed_Mar_24_15:56:16_2021_+0800","header_type":0}
It there any way to disable this 'useful' feature?
Some of the errors like ".framework contains disallowed nested bundles" we find out at later stage when uploading builds to TestFlight.
It will be great if we can have similar script that apple uses or some custom script to verify it during the build time.
So before I reinvent the wheel is there any script I can use at build time to detect this issue?
Hi,
I'm looking to implement PHASEStreamNode in Unity, but the current provided PHASE library for Unity doesn't contain this new typos of nodes yet.
https://developer.apple.com/documentation/phase/phasestreamnode
When you will be looking into releasing the beta of the Unity Plugins as well?
This is very important for spatial audio in Unity to be consistent with Apple's standards.
Best,
Antonio
Our Ionic App running on iOS 17.5.1, crashed.
Attaching the crash report
crash report 1.txt
when ios app will get crashed at that time delegate method applicationWillTerminate(_:) is not calling. So which delegate method get call when app is crashed
I have an app on the App Store for many years enabling users to post text into clouds in augmented reality. Yet last week abruptly upon installing the app on the iPhone the screen started going totally dark and a list of little comprehensible logs came up of the kind:
ARSCNCompositor <0x300ad0e00>: ARSCNCompositor (0, 0) initialization failed. Matting is not set up properly.
many times, then
RWorldTrackingTechnique <0x106235180>: Unable to update pose [PredictorFailure] for timestamp 870.392108
ARWorldTrackingTechnique <0x106235180>: Unable to predict pose [1] for timestamp 870.392108
again several times and then:
ARWorldTrackingTechnique <0x106235180>: SLAM error callback: Error Domain=Slam Error Code=7 "Non fatal error occurred due to significant drop in a IMU data" UserInfo={NSDescription=Non fatal error occurred due to significant drop in a IMU data, NSLocalizedFailureReason=SlamEngineNodeGroup Failure: IMU issue: gyro data stream verification failed [Significant data drop]. Failed on timestamp: 870.413247, Last known timestamp: 865.350198, Delta: 5.063049, System timestamp: 870.415781, Delta between system and frame: 0.002534. }
and then again the pose issues several times.
I hoped the new beta version would have solved the issue, but it was not the case. Unfortunately I do not know if that depends on the beta version or some other issue, given the app may be not installed on the Mac simulator.
Foundation
APNS
APFS
GameKit
IOUSBHost
Swift Packages
App Tracking Transparency
GameplayKit
MetricKit
Mobile Core Services
Subscriptions
App Clips
AGL
Wallet
Watch Connectivity
SCSIControllerDriverKit
Forums Feedback
Force Feedback Control
External Graphics Processors
Files and Storage .
IOBluetooth
Community
Developer Tools
ML Compute
FWAUserLib
Image I/O
Screen Saver
Swift Student Challenge
Apple Music API
Games Discuss games
AudioToolbox
Xcode.
Maps Web Snapshots
WatchKit
Extensions
Accounts
Apple Watch.
Messages app.
CarPlay EventKit and EventKitUI.
iOS, iPadOS, watchOS, tvOS, and macOS apps.
App Store
(FPS).
iPad
Media Player
Exception Handling
External Accessory
iOS iOS iPhone.
Xcode Server Xcode projects.
Face ID
CloudKit
App ID
Metal
MusicKit
StoreKit Test
Swift
xcselectmacOS SDK
Beta
WebKit JS
APIs.
Frameworks
Asset Catalog
Education and Kids
Game Controller
Inter-process communication
App Review Apple guidelines.
Messages
SpriteKit
vmnet
ARKit
Automatic Assessment Configuration
MetalKitModel I/O using MetalKit.
Multipeer Connectivity
MusicKit JS
StoreKit
Swift Playgrounds Foundation.
APNS (APNs).
APFS
GameKit
IOUSBHost .
Swift Packages
App IOSurface.
iPadOS
VideoToolbox (ASan), (MTC), Thread Sanitizer (TSan), (UBSan).
Game Porting Toolkit
Core Transferable Declare a transfer representation for your model types to participate in system sharing and data transfer operations.
WWDC23 Challenges Share your creations from the WWDC22
WWDC23 Discuss the latest Apple technologies announced at WWDC23.
WorkoutKit
visionOS Apple Vision Pro.
WebXR .
SwiftData .
DockKit API
DeviceDiscoveryUI
Apple Intelligence
AdAttributionKit
Platform SSO
TabletopKit