Post

Replies

Boosts

Views

Activity

Xcode won't open
I updated iPhone to iOS 16.4. Xcode told me to update to 14.3. Now Xcode won't open because I need macOS 13.0, but my 32GB iMac Late 2015 won't take 13.0. Are my days as a developer over? Is it possible to go back to old iOS and old Xcode? Would that solve the problem?
3
0
586
Mar ’23
Simulator error message
I get this error message with Simulator, but not with hardware: Domain: IXErrorDomain Code: 13 Failure Reason: Missing bundle ID. User Info: {     DVTErrorCreationDateKey = "2023-03-14 02:12:00 +0000";     FunctionName = "+[IXPlaceholder _placeholderForBundle:client:withParent:installType:metadata:placeholderType:error:]";     IDERunOperationFailingWorker = IDELaunchiPhoneSimulatorLauncher;     SourceFileLine = 666; } Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {     "device_model" = "iPhone15,2";     "device_osBuild" = "16.2 (20C52)";     "device_platform" = "com.apple.platform.iphonesimulator";     "launchSession_schemeCommand" = Run;     "launchSession_state" = 1;     "launchSession_targetArch" = "x86_64";     "operation_duration_ms" = 31;     "operation_errorCode" = 13;     "operation_errorDomain" = IXErrorDomain;     "operation_errorWorker" = IDELaunchiPhoneSimulatorLauncher;     "operation_name" = IDERunOperationWorkerGroup;     "param_consoleMode" = 0;     "param_debugger_attachToExtensions" = 0;     "param_debugger_attachToXPC" = 1;     "param_debugger_type" = 3;     "param_destination_isProxy" = 0;     "param_destination_platform" = "com.apple.platform.iphonesimulator";     "param_diag_MainThreadChecker_stopOnIssue" = 0;     "param_diag_MallocStackLogging_enableDuringAttach" = 0;     "param_diag_MallocStackLogging_enableForXPC" = 1;     "param_diag_allowLocationSimulation" = 1;     "param_diag_checker_tpc_enable" = 1;     "param_diag_gpu_frameCapture_enable" = 0;     "param_diag_gpu_shaderValidation_enable" = 0;     "param_diag_gpu_validation_enable" = 0;     "param_diag_memoryGraphOnResourceException" = 0;     "param_diag_queueDebugging_enable" = 1;     "param_diag_runtimeProfile_generate" = 0;     "param_diag_sanitizer_asan_enable" = 0;     "param_diag_sanitizer_tsan_enable" = 0;     "param_diag_sanitizer_tsan_stopOnIssue" = 0;     "param_diag_sanitizer_ubsan_stopOnIssue" = 0;     "param_diag_showNonLocalizedStrings" = 0;     "param_diag_viewDebugging_enabled" = 1;     "param_diag_viewDebugging_insertDylibOnLaunch" = 1;     "param_install_style" = 0;     "param_launcher_UID" = 2;     "param_launcher_allowDeviceSensorReplayData" = 0;     "param_launcher_kind" = 0;     "param_launcher_style" = 0;     "param_launcher_substyle" = 0;     "param_runnable_appExtensionHostRunMode" = 0;     "param_runnable_productType" = "com.apple.product-type.application";     "param_runnable_type" = 2;     "param_testing_launchedForTesting" = 0;     "param_testing_suppressSimulatorApp" = 0;     "param_testing_usingCLI" = 0;     "sdk_canonicalName" = "iphonesimulator16.2";     "sdk_osVersion" = "16.2";     "sdk_variant" = iphonesimulator; } What functional Bundle ID is it missing? Why is Simulator unhappy but my iPhone purrs?
3
0
1.7k
Mar ’23
Cannot re-add in-app purchase
I had a problem with my in-app purchase, so I deleted it in Xcode/project/TARGETS/myapp/Signing & Capabilities. To recreate it I click on "+ Capability", the Capabilities window comes up, on the left I select "In-App Purchase", "In-App Purchase" appears on the right side, I click back in the main window, but nothing happens. This is how I added it the first time. I've tried restarting Xcode. Shouldn't I be able to delete the in-app purchase in Xcode and add it back? All looks right in App Store Connect; I had it almost working correctly. Any clues how to fix this?
2
0
576
Mar ’23
Paying for app after user deletes it
If a user has already In-App paid for my app and then deletes it before the subscription runs out and downloads it again, and since my app doesn't keep subscription data in the keychain (which remembers only when the app was downloaded), my app starts the subscribing process. When Apple sees the subscription request, will Apple tell the user that it's already been paid for? I don't see this behavior in the sandbox.
1
0
751
Jan ’23
Why does "NSArray *product = response.products" return no product?
In sandbox testing, I was able to get auto-renewing subscription to work, but decided to switch to one-time in-app purchase. I've read many how-to's, but I'm missing something. My app has Bundle ID com.myname.id1 and IAP capability added. The IAP has Product ID com.myname.id2. My agreements are up-to-date (auto-renewing subscription worked). The In-App Purchases screen lists my IAP under "Drafts (1)"; is this expected? "[SKPaymentQueue canMakePayments]" returns true. "[[SKProductsRequest alloc] initWithProductIdentifiers:set]" (where set contains "com.myname.id2") responds to "[request start]". In the delegate, "NSArray *product = response.products" comes back empty. Does the IAP have its own Bundle ID? What am I doing wrong? What have I not told you that's important? I've been stuck for a few days on this. Thanks!
3
0
793
Mar ’23
Trying to add LaunchScreen.storyboard
I have a working Main.storyboard and want to add a launch screen. I followed the tutorial at https://stackoverflow.com/questions/31676901/ios-8-launch-screen-storyboard-appears-black-single-xib-file-works-fine/65693691#65693691 and got my launch screen working, except that it hangs and doesn't progress to Main.storyboard. Is a navigation controller (which I haven't added) required to move from LaunchScreen to Main, or is some setting wrong that causes the hang (and what might it be?)? Thanks!
2
0
743
Jan ’21
Adding png to ImageView causes black screen
My app works properly, but adding Launch Screen.storyboard, all is fine up to and including adding Image View to View; I still see the background color of View and my annotation. But when I select my photo IMG_1486 (which is file IMG_1486.png) in Image, the screen turns black. The png is fine; I can point Main.storyboard to it and it shows up correctly. What settings can cause the black launch screen in this scenario? Thanks.
12
0
3.4k
Mar ’21