Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

165,591 results found

Post

Replies

Boosts

Views

Activity

Connect Two Apps
HiI wanted to know how would I connect two apps to each other. I am making an app similar to Uber in Xcode with Swift. An example of what I need help with is in Uber when someone requests a ride that person can see who their driver is and the drivers info on the customer app and the driver gets the passengers info in the Uber employee app. Even if one person is using an iPhone and the other is using Android. If possible I would like to know how to do this using Firebase. One app is for customers and the other is for employees. How would I do this using Swift in XCode. I’m sorry if this is to broad but it’s the best I could describe what I need help with.Thank You
1
0
663
Jun ’18
Xcode 7.1 beta 2 (7B75) shows two view as if there is the same
I recently create a new app project with a single wiew. In the view there are buttons, labels and a image graphic created with a class. Now I added a new view in the storyboard and linked with a segue in buttons, one for switch to the new view and one to back to first view. The problem I have is that the two views appears identichal to the first view. Only when I move the second view it redraws and look ok with it's controls. But when I add a button or made some change, the view back to appear as the first one. Anyone had this problem?
1
0
255
Oct ’15
Attachments with Object Tracking on visionOS 2
I have been able to get object tracking working with vision OS 2. So now in my reality view, when my reference object is detected - I am overlaying digital content on top of the reference object. I am implementing this with a Transform entity and attaching an object anchor to the entity and then placing my digital content in the scene (inside Reality Composer Pro) I now want to know if it's possible to create attachments and attach them to the digital content (say modelXYZ) that is spawned when the physical object is detected. If I need to write SwiftUI code to do this that works together with my RCP scene (that has the object tracking content), how do I do this? Some sample code or some reference to accomplish this would be extremely helpful
1
0
656
Jul ’24
Notarization - invalid 2, Package Invalid
I have code signed a screen saver (legacy screen saver) I have verified it is code signed using: codesign -vvv --deep --strict pathtofile (valid on disk, satisfies its Designated Requirement) I have tried putting the file into a folder and then using: /usr/bin/ditto -c -k --keepParent APP_PATH ZIPPATH and I have tried just zipping the .saver file using the same ditto command. Then I try to notarize by using: xcrun altool -notarize-app --primary-bundle-id com.xxx.screen.zip -username appleID -password appSpecificPassword --asc-provider ProviderShortName --file screensaver.zip It says No errors uploading and gives me a RequestUUID back. However at the end of all this, it tells me it was not notified, that status = invalid, status code = 2, Package invalid How can I find out what the problem is? Where did I go wrong? Thanks!
3
0
1.8k
Aug ’20
Caldav two-step verification
I'm using caldav to fetch events from iCloud.First request is to get dsprsid and mmeAuthToken from appleId and passwordNormally the first request will be:auth = Basic %s % base64.b64encode(%s:%s % (appleId, password)) requests.get(https://setup.icloud.com/setup/authenticate/%s % appleId, headers={Authorization: auth})But when I insert appleId which enabled two-step verification the response will be:<dict> <key>protocolVersion</key> <string>2</string> <key>title</key> <string>Verification Required</string> <key>localizedError</key> <string>MOBILEME_TERMS_OF_SERVICE_UPDATE</string> <key>message</key> <string>This Apple ID is protected with two-step verification. To sign in, you must verify your identity.</string> </dict>Does someone know from where I continue from here? What should be the next call?Thanks!
0
0
859
Nov ’15
Same App with two UIs (iPhone and iPad Version)
Hello, is it possible to develop an app that has the same feature set, but two totally different UIs? I would like to make an iPad app that will more than likely become an iPhone app. I don't want to just copy the code and rebuild it, because later on when I make change to the code I want it to be reflected in both apps. If I make it universal then everything will look squashed when I later build the iPhone version.Essentially I want have two storyboards (iPhone and iPad) and have them Use the same code behind.Thanks,TWOLFF
2
0
1.4k
Aug ’17
Two tables in a watchApp scene?
I would like to have two WKInterfaceTables running independently in a watch scene, but am not having any joy implementing them.I have created the two tables in a Group which works fine, now that I have played areound wuth Groups.The complication (excuse the pun) occurs in table(_ table: WKInterfaceTable, didSelectRowAt rowIndex: Int)where I can't work out which table has been selected. It gets called when I select either table, but tI can't identify which table was selected.
2
0
652
Jun ’18
Reply to Failed to verify your identity. Try Again - Error on AppStore Connect / Developer / SearchAds
I just encounter the problem today. Attempt login to App Store Connect directly on Safari. I got the two-factor code alert, but also the failed to verify message in the browser with nowhere to enter the 2-factor code. I instead went to developer.apple.com and was able to successfully log in there, and then clicked over to App Store Connect successfully.
May ’23
Enrollment stuck for 2 months
Hi all. I have been trying to enroll in the Apple Developer Program for around 2 months. I have made couple of payments and received order confirmation email saying order will be processed within 2 business days. I have received no further emails I can find. Can anyone please advice me how I can check the status of my enrollment or if something more is needed for my order to be processed. Many thanks.
2
0
244
May ’26
Disabling HTTP/2 in Safari
Hi, I’m testing file uploads to a web app that sits behind an AWS Application Load Balancer, and I need a way to make Safari use HTTP/1.1 instead of HTTP/2 while I test. What I’m seeing: Uploads up to about 4 MB work. Anything bigger slows down more and more and then fails with a network error. A 49 MB file never finishes. The same upload over HTTP/1.1 works every time. I tested this with curl (--http1.1 against --http2), and with Chrome started with --disable-http2. In that Chrome, the 49 MB file uploaded fine. In Safari, which uses HTTP/2 with this server, the same file fails every time. My questions: Is there any way to make Safari use HTTP/1.1 for a site, or turn HTTP/2 off, for testing? For example a hidden setting, a defaults write key, something under Develop → Feature Flags, or a Web Inspector option. I couldn’t find one. If not, is there a recommended way to test how Safari behaves with HTTP/1.1 only? Safari supports HTTP/3. Our load balancer doesn’t offer HTTP/3 at the mom
Topic: Safari & Web SubTopic: General
0
0
277
4w
Combining two audio AVAssetWriterInput
Hello,I am working with Replay Kit 2, to record the screen, the app output audio, and the phone input microphone.This means I can have up to 3 AVAssetWriterInput instances:- 1 for the app video (screen recording)- 1 for app audio (stereo, 2 channels, 441000 sample rate, 64000 bit rate)- 1 for microphone audio (mono, 1 channel, 441000 sample rate, 64000 bit rate)I am using a AVAssetWriter to combine these three inputs. (using add: method)This results in an mp4 with two different audio tracks, one with only the app audio, and another with the microphone audio. This means in some players like VLC only one track at a time is played.Is there any specific way to combine both inputs into one in the final MP4?
3
0
3.0k
Jan ’18
Connect Two Apps
HiI wanted to know how would I connect two apps to each other. I am making an app similar to Uber in Xcode with Swift. An example of what I need help with is in Uber when someone requests a ride that person can see who their driver is and the drivers info on the customer app and the driver gets the passengers info in the Uber employee app. Even if one person is using an iPhone and the other is using Android. If possible I would like to know how to do this using Firebase. One app is for customers and the other is for employees. How would I do this using Swift in XCode. I’m sorry if this is to broad but it’s the best I could describe what I need help with.Thank You
Replies
1
Boosts
0
Views
663
Activity
Jun ’18
Xcode 7.1 beta 2 (7B75) shows two view as if there is the same
I recently create a new app project with a single wiew. In the view there are buttons, labels and a image graphic created with a class. Now I added a new view in the storyboard and linked with a segue in buttons, one for switch to the new view and one to back to first view. The problem I have is that the two views appears identichal to the first view. Only when I move the second view it redraws and look ok with it's controls. But when I add a button or made some change, the view back to appear as the first one. Anyone had this problem?
Replies
1
Boosts
0
Views
255
Activity
Oct ’15
Attachments with Object Tracking on visionOS 2
I have been able to get object tracking working with vision OS 2. So now in my reality view, when my reference object is detected - I am overlaying digital content on top of the reference object. I am implementing this with a Transform entity and attaching an object anchor to the entity and then placing my digital content in the scene (inside Reality Composer Pro) I now want to know if it's possible to create attachments and attach them to the digital content (say modelXYZ) that is spawned when the physical object is detected. If I need to write SwiftUI code to do this that works together with my RCP scene (that has the object tracking content), how do I do this? Some sample code or some reference to accomplish this would be extremely helpful
Replies
1
Boosts
0
Views
656
Activity
Jul ’24
Notarization - invalid 2, Package Invalid
I have code signed a screen saver (legacy screen saver) I have verified it is code signed using: codesign -vvv --deep --strict pathtofile (valid on disk, satisfies its Designated Requirement) I have tried putting the file into a folder and then using: /usr/bin/ditto -c -k --keepParent APP_PATH ZIPPATH and I have tried just zipping the .saver file using the same ditto command. Then I try to notarize by using: xcrun altool -notarize-app --primary-bundle-id com.xxx.screen.zip -username appleID -password appSpecificPassword --asc-provider ProviderShortName --file screensaver.zip It says No errors uploading and gives me a RequestUUID back. However at the end of all this, it tells me it was not notified, that status = invalid, status code = 2, Package invalid How can I find out what the problem is? Where did I go wrong? Thanks!
Replies
3
Boosts
0
Views
1.8k
Activity
Aug ’20
Caldav two-step verification
I'm using caldav to fetch events from iCloud.First request is to get dsprsid and mmeAuthToken from appleId and passwordNormally the first request will be:auth = Basic %s % base64.b64encode(%s:%s % (appleId, password)) requests.get(https://setup.icloud.com/setup/authenticate/%s % appleId, headers={Authorization: auth})But when I insert appleId which enabled two-step verification the response will be:<dict> <key>protocolVersion</key> <string>2</string> <key>title</key> <string>Verification Required</string> <key>localizedError</key> <string>MOBILEME_TERMS_OF_SERVICE_UPDATE</string> <key>message</key> <string>This Apple ID is protected with two-step verification. To sign in, you must verify your identity.</string> </dict>Does someone know from where I continue from here? What should be the next call?Thanks!
Replies
0
Boosts
0
Views
859
Activity
Nov ’15
Same App with two UIs (iPhone and iPad Version)
Hello, is it possible to develop an app that has the same feature set, but two totally different UIs? I would like to make an iPad app that will more than likely become an iPhone app. I don't want to just copy the code and rebuild it, because later on when I make change to the code I want it to be reflected in both apps. If I make it universal then everything will look squashed when I later build the iPhone version.Essentially I want have two storyboards (iPhone and iPad) and have them Use the same code behind.Thanks,TWOLFF
Replies
2
Boosts
0
Views
1.4k
Activity
Aug ’17
Two tables in a watchApp scene?
I would like to have two WKInterfaceTables running independently in a watch scene, but am not having any joy implementing them.I have created the two tables in a Group which works fine, now that I have played areound wuth Groups.The complication (excuse the pun) occurs in table(_ table: WKInterfaceTable, didSelectRowAt rowIndex: Int)where I can't work out which table has been selected. It gets called when I select either table, but tI can't identify which table was selected.
Replies
2
Boosts
0
Views
652
Activity
Jun ’18
Reply to Failed to verify your identity. Try Again - Error on AppStore Connect / Developer / SearchAds
I just encounter the problem today. Attempt login to App Store Connect directly on Safari. I got the two-factor code alert, but also the failed to verify message in the browser with nowhere to enter the 2-factor code. I instead went to developer.apple.com and was able to successfully log in there, and then clicked over to App Store Connect successfully.
Replies
Boosts
Views
Activity
May ’23
Enrollment stuck for 2 months
Hi all. I have been trying to enroll in the Apple Developer Program for around 2 months. I have made couple of payments and received order confirmation email saying order will be processed within 2 business days. I have received no further emails I can find. Can anyone please advice me how I can check the status of my enrollment or if something more is needed for my order to be processed. Many thanks.
Replies
2
Boosts
0
Views
244
Activity
May ’26
Disabling HTTP/2 in Safari
Hi, I’m testing file uploads to a web app that sits behind an AWS Application Load Balancer, and I need a way to make Safari use HTTP/1.1 instead of HTTP/2 while I test. What I’m seeing: Uploads up to about 4 MB work. Anything bigger slows down more and more and then fails with a network error. A 49 MB file never finishes. The same upload over HTTP/1.1 works every time. I tested this with curl (--http1.1 against --http2), and with Chrome started with --disable-http2. In that Chrome, the 49 MB file uploaded fine. In Safari, which uses HTTP/2 with this server, the same file fails every time. My questions: Is there any way to make Safari use HTTP/1.1 for a site, or turn HTTP/2 off, for testing? For example a hidden setting, a defaults write key, something under Develop → Feature Flags, or a Web Inspector option. I couldn’t find one. If not, is there a recommended way to test how Safari behaves with HTTP/1.1 only? Safari supports HTTP/3. Our load balancer doesn’t offer HTTP/3 at the mom
Topic: Safari & Web SubTopic: General
Replies
0
Boosts
0
Views
277
Activity
4w
Combining two audio AVAssetWriterInput
Hello,I am working with Replay Kit 2, to record the screen, the app output audio, and the phone input microphone.This means I can have up to 3 AVAssetWriterInput instances:- 1 for the app video (screen recording)- 1 for app audio (stereo, 2 channels, 441000 sample rate, 64000 bit rate)- 1 for microphone audio (mono, 1 channel, 441000 sample rate, 64000 bit rate)I am using a AVAssetWriter to combine these three inputs. (using add: method)This results in an mp4 with two different audio tracks, one with only the app audio, and another with the microphone audio. This means in some players like VLC only one track at a time is played.Is there any specific way to combine both inputs into one in the final MP4?
Replies
3
Boosts
0
Views
3.0k
Activity
Jan ’18