Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

167,654 results found

Post

Replies

Boosts

Views

Activity

iOS Simulator App Installation Failure - "Failed to create promise. Underlying error (domain=IXErrorDomain, code=2)
I'm experiencing a persistent iOS Simulator app installation failure when running automated tests using Appium/XCUITest. The error occurs consistently across different simulator configurations and appears to be related to metadata handling during app installation. Error Details Primary Error: An error was encountered processing the command (domain=IXErrorDomain, code=2): Simulator device failed to install the application. Failed to create promise. Underlying error (domain=IXErrorDomain, code=2): Failed to set metadata for org.adblockplus.AdblockPlusSafari Failed to create promise. Host info: host: 'Client641', ip: 'fe80:0:0:0:18b4:d9ba:1e92:bc37%en0' Build info: version: '4.26.0', revision: '8ccf0219d7' System info: os.name: 'Mac OS X', os.arch: 'aarch64', os.version: '26.0', java.version: '22.0.2' Driver info: io.appium.java_client.ios.IOSDriver Command: [null, newSession {capabilities=[Capabilities {appium:app: /Users/n.bhadoria/IdeaProje..., appium:automationName: XCUITe
0
0
331
Sep ’25
HTTP/2 Notifications - How?
So I saw the stuff on HTTP/2 now for push notifications, but I'm not really finding details on the web on how to implement it. I'm using PHP for example right now to build my packet and send it via a stream_socket_client connection. Are there details I'm missing somewhere that show how to use the new format?
0
0
287
Dec ’15
Reply to How do you set a button (created with code) to conform to AutoLayout?
You can 'roll your own' auto layout using code like: float screenWidth=self.view.bounds.size.width; float screenHeight=self.view.bounds.size.height; float leftEdge=screenWidth/2 - myUIComponent.frame.size.width/2; float topEdge=30; myUIComponent.frame=CGRectMake(leftEdge,topEdge,myUIComponent.frame.size.width,myUIComponent.frame.size.Height); anotherUIComponent.center=CGPointMake(screenWidth/2,screenHeight/2);
Topic: UI Frameworks SubTopic: UIKit Tags:
May ’18
Handling failed transactions in Storekit 2
When simulating a Storekit error like an invalid device verification or others of that type, should we finish a failed transaction? When I test with a Storekit configuration file, all failed transactions persist after every restart. The Apple-provided sample code for Storekit 2 has transactions finished only when they are successful.
0
0
252
Jan ’25
Reply to Generating strings file with genstrings
NSLocalizedString() can't be used un a function like that, because it's a macro. If you have two strings to localize you need to have two separate NSLocalizedString() macros in the code containing those strings. This way genstrings would be able find them in the code. The way you wrote it, all genstrings can see is one entry.
Nov ’22
how to merge two entitlements
We need your help to merge two special entitlements into a single entitlement or provide a provisioning profile with both of these special entitlements so that our app can have them. The entitlements: Name: ApplePay In-App Provisioning Distribution com.apple.developer.payment-pass-provisioning and Name: Apple Pay Pass Suppression iOS (Dist) com.apple.developer.passkit.pass-presentation-suppression how can we achieve this?
2
0
791
Nov ’21
two factor authentication for app review?
Dear fellow developers,We'll be sending in an app for review shortly, which is using two factor authentication for users to log in. (This is necessary for a part of the app only - the other part is available for everyone, without account.) I was wondering how we could let the Apple review team discover the app, when it's set up with two factor authentication? (The second factor after using accountname/password is a confirmation code, obtained through text on iPhone, e-mail or TOTP-app on the device). Thanks for clearing this up!
1
0
3.4k
Nov ’17
Two errors -- binary not optimized for iphone 5 (error 90096) and invalid code signing (error 90163) when submitting to iTunes
I have two issues when I upload to iTunes and I’m not sure if they are related to each other:ERROR ITMS- 90096: “Your binary is not optimized for iPhone 5 ……” This is weird because I have the correct splash screen included which is Default-568h@2x with the file size being 640 x 1136. Not sure why I’m getting this error. I've submitted several apps with this splash screen size and having had a problem in the past.ERROR ITMS- 90096: “Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning file. The bundle contains a key that is not included in the provi…… “beta-reports-active”. I know that this issue is being caused by the beta-reports-active tag. I’ve researched this issue but have not found anything that definitively solves this problem. For this building I’m using a production certificate and provisioning profile. I am attempting to upload the app for TestFlight App so I need to solve this problem.My devel
6
0
715
Feb ’16
Rosetta 2 in MacOS VM
I'm running a MacOS15 beta 3 VM on a MacOS15 beta 3 Host (M2 Pro Mac Mini) using the Apple Virtualization Framework (via https://github.com/s-u/macosvm). For building my app inside the VM I need Rosetta 2, since flutter still uses some Intel binaries. But when I want to install Rosetta 2 I'm always getting the message, that installing Rosetta 2 is not allowed on this system. Digging in the log files I found a message from the installer, that the system is not supported. Searching online I just find a method for using Rosetta 2 inside Linux VM's using the Virtualization Framework. Am I missing something or is it not possible to use Rosetta 2 with MacOS guests?
2
0
1.5k
Jul ’24
Access to two cameras on iphone 15
have a iphone 12 pro and write a code for access to two cameras at same time. but it is only possible with the widecamera and frontcamera. widecamera and ultrawide camera at same time do not work. do you know that is possible with iphone 15 pro? i use the functions with AVCaptureMultiCamSession. i have try it with AVCaptureMultiCamSession on iphone 12 pro.
0
0
672
Nov ’23
Charactor Code of AssetId
Accoding to Table 2-4 of FairPlay Programing Guide, Asset ID in SPC is byte array.On other hand, the chapter EME Message Exchange says The AssetId can be any string you choose.So what charactor code should I choose?In FPS_in_Safari_Example.html, charactor code of AssetId is like Unicode.Its javascript code to get byte array is the below: function stringToArray(string) { var buffer = new ArrayBuffer(string.length*2); // 2 bytes for each char var array = new Uint16Array(buffer); for (var i=0, strLen=string.length; i<strLen; i++) { array[i] = string.charCodeAt(i); } return array; }The length of Unicode is not always 2 bytes. So it will not working well because Key Server can't extract original string.It doesn't make sense to treat Asset Id as string in Safari.Should I pass AssetId to Key Server in the outer of SPC Message?
1
0
559
Sep ’16
WatchOS 2 release plan
Two questions for Apple about the delay in releasing WatchOS 2:Is the delay related to the WCSession issues that were reported in this forum?When will be a new build be available?Thank you!
Replies
0
Boosts
0
Views
414
Activity
Sep ’15
iOS Simulator App Installation Failure - "Failed to create promise. Underlying error (domain=IXErrorDomain, code=2)
I'm experiencing a persistent iOS Simulator app installation failure when running automated tests using Appium/XCUITest. The error occurs consistently across different simulator configurations and appears to be related to metadata handling during app installation. Error Details Primary Error: An error was encountered processing the command (domain=IXErrorDomain, code=2): Simulator device failed to install the application. Failed to create promise. Underlying error (domain=IXErrorDomain, code=2): Failed to set metadata for org.adblockplus.AdblockPlusSafari Failed to create promise. Host info: host: 'Client641', ip: 'fe80:0:0:0:18b4:d9ba:1e92:bc37%en0' Build info: version: '4.26.0', revision: '8ccf0219d7' System info: os.name: 'Mac OS X', os.arch: 'aarch64', os.version: '26.0', java.version: '22.0.2' Driver info: io.appium.java_client.ios.IOSDriver Command: [null, newSession {capabilities=[Capabilities {appium:app: /Users/n.bhadoria/IdeaProje..., appium:automationName: XCUITe
Replies
0
Boosts
0
Views
331
Activity
Sep ’25
HTTP/2 Notifications - How?
So I saw the stuff on HTTP/2 now for push notifications, but I'm not really finding details on the web on how to implement it. I'm using PHP for example right now to build my packet and send it via a stream_socket_client connection. Are there details I'm missing somewhere that show how to use the new format?
Replies
0
Boosts
0
Views
287
Activity
Dec ’15
Reply to How do you set a button (created with code) to conform to AutoLayout?
You can 'roll your own' auto layout using code like: float screenWidth=self.view.bounds.size.width; float screenHeight=self.view.bounds.size.height; float leftEdge=screenWidth/2 - myUIComponent.frame.size.width/2; float topEdge=30; myUIComponent.frame=CGRectMake(leftEdge,topEdge,myUIComponent.frame.size.width,myUIComponent.frame.size.Height); anotherUIComponent.center=CGPointMake(screenWidth/2,screenHeight/2);
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
May ’18
Handling failed transactions in Storekit 2
When simulating a Storekit error like an invalid device verification or others of that type, should we finish a failed transaction? When I test with a Storekit configuration file, all failed transactions persist after every restart. The Apple-provided sample code for Storekit 2 has transactions finished only when they are successful.
Replies
0
Boosts
0
Views
252
Activity
Jan ’25
Reply to Generating strings file with genstrings
NSLocalizedString() can't be used un a function like that, because it's a macro. If you have two strings to localize you need to have two separate NSLocalizedString() macros in the code containing those strings. This way genstrings would be able find them in the code. The way you wrote it, all genstrings can see is one entry.
Replies
Boosts
Views
Activity
Nov ’22
how to merge two entitlements
We need your help to merge two special entitlements into a single entitlement or provide a provisioning profile with both of these special entitlements so that our app can have them. The entitlements: Name: ApplePay In-App Provisioning Distribution com.apple.developer.payment-pass-provisioning and Name: Apple Pay Pass Suppression iOS (Dist) com.apple.developer.passkit.pass-presentation-suppression how can we achieve this?
Replies
2
Boosts
0
Views
791
Activity
Nov ’21
two factor authentication for app review?
Dear fellow developers,We'll be sending in an app for review shortly, which is using two factor authentication for users to log in. (This is necessary for a part of the app only - the other part is available for everyone, without account.) I was wondering how we could let the Apple review team discover the app, when it's set up with two factor authentication? (The second factor after using accountname/password is a confirmation code, obtained through text on iPhone, e-mail or TOTP-app on the device). Thanks for clearing this up!
Replies
1
Boosts
0
Views
3.4k
Activity
Nov ’17
Two errors -- binary not optimized for iphone 5 (error 90096) and invalid code signing (error 90163) when submitting to iTunes
I have two issues when I upload to iTunes and I’m not sure if they are related to each other:ERROR ITMS- 90096: “Your binary is not optimized for iPhone 5 ……” This is weird because I have the correct splash screen included which is Default-568h@2x with the file size being 640 x 1136. Not sure why I’m getting this error. I've submitted several apps with this splash screen size and having had a problem in the past.ERROR ITMS- 90096: “Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning file. The bundle contains a key that is not included in the provi…… “beta-reports-active”. I know that this issue is being caused by the beta-reports-active tag. I’ve researched this issue but have not found anything that definitively solves this problem. For this building I’m using a production certificate and provisioning profile. I am attempting to upload the app for TestFlight App so I need to solve this problem.My devel
Replies
6
Boosts
0
Views
715
Activity
Feb ’16
Two identical certificates.
I have two valid certificates in keychain that are named the same (argg) When I want to build my mobile provision, they both appear and I can't tell which is the new one. Does it matter which I pick? Can I pick both? Or is it possible to identify which is which? In Keychain, the date tells me the difference.
Replies
6
Boosts
0
Views
2.3k
Activity
Jul ’15
Rosetta 2 in MacOS VM
I'm running a MacOS15 beta 3 VM on a MacOS15 beta 3 Host (M2 Pro Mac Mini) using the Apple Virtualization Framework (via https://github.com/s-u/macosvm). For building my app inside the VM I need Rosetta 2, since flutter still uses some Intel binaries. But when I want to install Rosetta 2 I'm always getting the message, that installing Rosetta 2 is not allowed on this system. Digging in the log files I found a message from the installer, that the system is not supported. Searching online I just find a method for using Rosetta 2 inside Linux VM's using the Virtualization Framework. Am I missing something or is it not possible to use Rosetta 2 with MacOS guests?
Replies
2
Boosts
0
Views
1.5k
Activity
Jul ’24
Access to two cameras on iphone 15
have a iphone 12 pro and write a code for access to two cameras at same time. but it is only possible with the widecamera and frontcamera. widecamera and ultrawide camera at same time do not work. do you know that is possible with iphone 15 pro? i use the functions with AVCaptureMultiCamSession. i have try it with AVCaptureMultiCamSession on iphone 12 pro.
Replies
0
Boosts
0
Views
672
Activity
Nov ’23
Handling failed transactions in Storekit 2
When simulating a Storekit error like an invalid device verification or others of that type, should we finish a failed transaction? When I test with a storekit configuration file, all failed transactions persist after every restart. The Apple-provided sample code for storekit 2 has transactions finished only when they are successful.
Replies
2
Boosts
0
Views
694
Activity
Jan ’25
tvOS Beta 2 OTA?
Is there a functioniong OTA update from beta 1 to beta 2? My Apple TV running beta 1 has the configuration profile installed, but still does not see any update to beta 2 available.
Replies
2
Boosts
0
Views
845
Activity
Jan ’16
Charactor Code of AssetId
Accoding to Table 2-4 of FairPlay Programing Guide, Asset ID in SPC is byte array.On other hand, the chapter EME Message Exchange says The AssetId can be any string you choose.So what charactor code should I choose?In FPS_in_Safari_Example.html, charactor code of AssetId is like Unicode.Its javascript code to get byte array is the below: function stringToArray(string) { var buffer = new ArrayBuffer(string.length*2); // 2 bytes for each char var array = new Uint16Array(buffer); for (var i=0, strLen=string.length; i<strLen; i++) { array[i] = string.charCodeAt(i); } return array; }The length of Unicode is not always 2 bytes. So it will not working well because Key Server can't extract original string.It doesn't make sense to treat Asset Id as string in Safari.Should I pass AssetId to Key Server in the outer of SPC Message?
Replies
1
Boosts
0
Views
559
Activity
Sep ’16