Posts

Post not yet marked as solved
11 Replies
11k Views
This page talks about the Feedback Assistant app for developers, and how it's the preferred way to submit feedback. But I didn't see anything obvious about how to get it. So I look for it in the app store. Nothing.About 5 minutes of searching brings me back to a well-hidden sentence on that page saying that it's on the home screen if you have a Beta version installed, but you can enable it on the publicly released versions by "installing a beta profile".I have no idea what that means. I can find no info on the web or the searching the developer site about how to "install a beta profile". I find instructions for installing Beta versions of iOS, but don't see anything about how to get the app without actually installing a beta OS.I did find a (sketchy as F...) website called betaprofiles.com <--- (don't click) that downloads and tries to install software on my Mac. (To which I said 'ell no). Seems an opportunist noticed this gaping vacuum that Apple created and stepped in to "fill it". I wonder how many people have gotten malware because of this lack of documentation.Sorry, frustrated as heck.OK, finally stumbled on the instructions in a MacWorld article. I guess I've started downloading "the profile", it will supposedly notify me when it's finished downloading, but I can't confirm that's actually happening. And I still don't even know what a "profile" is or what will happen if I "install" it.Seriously, this info should be easier to find. Searching these terms should bring up an informative article on apple.com at the top of the results, not some shady (AFAICT) malware site, and the best info being on MacWorld.
Posted Last updated
.
Post not yet marked as solved
1 Replies
834 Views
I just installed Xcode 15.1 beta, because 15.0.1 got stuck launching our app. Now, when I select an iPad device running iOS 17.1.1 and try to run the app, I get "Failed to install the app on the device." Details are as follows: Failed to install the app on the device. Domain: com.apple.dt.CoreDeviceError Code: 3002 User Info: { DVTErrorCreationDateKey = "2023-11-30 22:38:23 +0000"; IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker; NSURL = "file:///Users/stevedavison/Library/Developer/Xcode/DerivedData/LineSkip_POS-gqamizlxmzqjkfetgjnqrsozxsax/Build/Products/Debug-iphoneos/LineSkip%20POS.app/"; } Remote side is already working on com.lineskipapp.LineSkip-POS for action of type: 1 Domain: IXRemoteErrorDomain Code: 5 Failure Reason: Unhandled error domain IXRemoteErrorDomain, code 5 User Info: { FunctionName = "+[IXSRemoteMessageHandler _setHandlerIfNotExistingForIdentifier:messageHandler:withError:]_block_invoke"; SourceFileLine = 90; } Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : { "device_isCoreDevice" = 1; "device_model" = "iPad12,1"; "device_osBuild" = "17.1.1 (21B91)"; "device_platform" = "com.apple.platform.iphoneos"; "dvt_coredevice_version" = "355.7.6"; "dvt_mobiledevice_version" = "1643.40.14.100.2"; "launchSession_schemeCommand" = Run; "launchSession_state" = 1; "launchSession_targetArch" = arm64; "operation_duration_ms" = 13886; "operation_errorCode" = 5; "operation_errorDomain" = "com.apple.dt.CoreDeviceError.3002.IXRemoteErrorDomain"; "operation_errorWorker" = IDEInstallCoreDeviceWorker; "operation_name" = IDERunOperationWorkerGroup; "param_debugger_attachToExtensions" = 0; "param_debugger_attachToXPC" = 1; "param_debugger_type" = 3; "param_destination_isProxy" = 0; "param_destination_platform" = "com.apple.platform.iphoneos"; "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" = 0; "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" = 99; "param_launcher_substyle" = 8192; "param_runnable_appExtensionHostRunMode" = 0; "param_runnable_productType" = "com.apple.product-type.application"; "param_structuredConsoleMode" = 1; "param_testing_launchedForTesting" = 0; "param_testing_suppressSimulatorApp" = 0; "param_testing_usingCLI" = 0; "sdk_canonicalName" = "iphoneos17.2"; "sdk_osVersion" = "17.2"; "sdk_variant" = iphoneos; } System Information macOS Version 14.1.1 (Build 23B81) Xcode 15.1 (22502) (Build 15C5059c) Timestamp: 2023-11-30T14:38:23-08:00
Posted Last updated
.
Post not yet marked as solved
3 Replies
2.5k Views
My project was building fine with Xcode 14.1. After upgrading Xcode to 14.3 (and MacOS to Ventura), the project at first reported that build succeeded. But then when I tried to run the project, it suddenly reported that build failed, with the following error: ld: file not found: /Applications/Xcode 14.3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a clang: error: linker command failed with exit code 1 (use -v to see invocation) The build fails while trying to link a cocoa pod library we use called SVProgressHUD. The full link command as found in the build log is as follows: Ld /Users/username/Library/Developer/Xcode/DerivedData/Dudleys-awqewehuamgjgrfgdpuqcillyxfo/Build/Products/Debug-iphoneos/SVProgressHUD/SVProgressHUD.framework/SVProgressHUD normal (in target 'SVProgressHUD' from project 'Pods') cd /Users/username/lineskip_dev/ios_apps/dudleys/Pods /Applications/Xcode\ 14.3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-ios8.0 -dynamiclib -isysroot /Applications/Xcode\ 14.3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk -L/Users/username/Library/Developer/Xcode/DerivedData/Dudleys-awqewehuamgjgrfgdpuqcillyxfo/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos -L/Users/username/Library/Developer/Xcode/DerivedData/Dudleys-awqewehuamgjgrfgdpuqcillyxfo/Build/Products/Debug-iphoneos/SVProgressHUD -F/Users/username/Library/Developer/Xcode/DerivedData/Dudleys-awqewehuamgjgrfgdpuqcillyxfo/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos -F/Users/username/Library/Developer/Xcode/DerivedData/Dudleys-awqewehuamgjgrfgdpuqcillyxfo/Build/Products/Debug-iphoneos/SVProgressHUD -filelist /Users/username/Library/Developer/Xcode/DerivedData/Dudleys-awqewehuamgjgrfgdpuqcillyxfo/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/SVProgressHUD.build/Objects-normal/arm64/SVProgressHUD.LinkFileList -install_name @rpath/SVProgressHUD.framework/SVProgressHUD -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/username/Library/Developer/Xcode/DerivedData/Dudleys-awqewehuamgjgrfgdpuqcillyxfo/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/SVProgressHUD.build/Objects-normal/arm64/SVProgressHUD_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -framework QuartzCore -framework Foundation -framework QuartzCore -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/username/Library/Developer/Xcode/DerivedData/Dudleys-awqewehuamgjgrfgdpuqcillyxfo/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/SVProgressHUD.build/Objects-normal/arm64/SVProgressHUD_dependency_info.dat -o /Users/username/Library/Developer/Xcode/DerivedData/Dudleys-awqewehuamgjgrfgdpuqcillyxfo/Build/Products/Debug-iphoneos/SVProgressHUD/SVProgressHUD.framework/SVProgressHUD What's strange is that we are successfully building other projects with Xcode 14.3 that use this same library. And I can't find the reason why the linker is trying to link to the file libarclite_iphoeos.a in the first place.
Posted Last updated
.
Post not yet marked as solved
1 Replies
702 Views
We have an app running on iPad that uses UIWebView. The crash seems to have started after upgrading to iOS 16.4, and it's not happening on all models of iPad tested. The crash occurs in a background thread after we dismiss the view controller that displays the web view, but only if we have previously gone through webView:shouldStartLoadWithRequest:navigationType: which is kicked off by a successful submission. Here are the relevant parts from a crash log: Incident Identifier: 27C200B6-7F7D-4FF2-B9A1-E1B5FE8C1156 CrashReporter Key: 9c6442f7a7ab4ea89fa465d3d7769cde6bfe964e Hardware Model: iPad6,7 Process: LineSkip POS [498] Path: /private/var/containers/Bundle/Application/F8E66EE3-C19E-42E2-8B9E-F8D83D9A389B/LineSkip POS.app/LineSkip POS Identifier: com.lineskipapp.LineSkip-POS Version: 2.1.37 (706) AppStoreTools: 14C17 AppVariant: 1:iPad6,7:15 Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: com.lineskipapp.LineSkip-POS [612] Date/Time: 2023-04-04 19:58:26.3638 -0500 Launch Time: 2023-04-04 19:55:30.1362 -0500 OS Version: iPhone OS 16.4 (20E246) Release Type: User Report Version: 104 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000010 Exception Codes: 0x0000000000000001, 0x0000000000000010 VM Region Info: 0x10 is not in any region. Bytes before following region: 68719476720 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> commpage (reserved) 1000000000-7000000000 [384.0G] ---/--- SM=NUL ...(unallocated) Termination Reason: SIGNAL 11 Segmentation fault: 11 Terminating Process: exc handler [498] Triggered by Thread: 9 . . . Thread 9 name: WebThread Thread 9 Crashed: 0 WebCore 0x1c764be50 WebCore::RunLoopObserver::invalidate() + 16 1 WebKitLegacy 0x1f9c53ed4 ***::Detail::CallableWrapper<WebViewRenderingUpdateScheduler::WebViewRenderingUpdateScheduler(WebView*)::$_6, void>::call() + 228 2 CoreFoundation 0x1b688da58 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32 3 CoreFoundation 0x1b681d68c __CFRunLoopDoObservers + 552 4 CoreFoundation 0x1b687deec CFRunLoopRunSpecific + 676 5 WebCore 0x1c6896b74 RunWebThread(void*) + 780 6 libsystem_pthread.dylib 0x1ffaa10ec _pthread_start + 116 7 libsystem_pthread.dylib 0x1ffa9f72c thread_start + 8 I'm at a loss for what's causing this. What can I do to troubleshoot this further? UPDATE: So far, we've identified 3 iPads where it's crashing, and they are all 1st gen 12.9 inch iPad Pro ("HARDWARE Model: iPad6,7"). Every other model of iPad we've tested on (probably newer), we cannot reproduce the crash.
Posted Last updated
.
Post marked as solved
5 Replies
531 Views
The documentation for CGColorRef (https://developer.apple.com/documentation/coregraphics/cgcolorref?language=objc) clearly shows that it is a struct. However, when I try to store a cell's border color using CGColorRef originalColor = self.bg.layer.borderColor and inspect what happens in the debugger, both that property and its copy have the same address. And later when I try to restore the border color the copy still has the same address but is no longer valid and causes a crash on assignment (originalColor is actually an instance variable...) This is all object behavior, not struct behavior. If CGColorRef really was a struct, the contents would have been copied, the instance variable would have had its own address that would never have changed, and the value would have remained valid indefinitely and let me copy it back without a problem. Why is this documented wrong? Was this a recent change? I actually had this code working at some point, and now it's broken.
Posted Last updated
.
Post not yet marked as solved
3 Replies
2.9k Views
Recently upgraded to iOS 13 on an iPad I use for testing my app. The app build I had previously installed on that iPad ran fine, except that the text on one of my buttons was misplaced, and overlapping the image. Still not sure why (I didn't get that far).I went to debug it, and was forced to upgrade Xcode from 10 to 11, so it could talk to iOS 13. But when I rebuilt the app using Xcode 11.1, and ran it on iOS 13, I ran into MAJOR problems.1) First, the sign-in screen no longer takes up the full screen, but shows up in a square that can be discarded by swiping down. Once that happens, I can't get it back without killing the app and restarting.2) Tapping on the app icon in the dock no longer starts the app or brings it up if it's been minimized. I have to find the icon on the home screen and use that one.3) Everything I type into the text edit fields seems to show up (or rather, not show up) in white on white, so that's fun.4) If I enter my login and password, the request sent to the server fails with error -1002 (unsupported URL), even though as far as I can tell the url passed to NSMutableRequest.requestWithURL is valid. When I run the same build on iOS 12, it works fine. If I set a breakpoint in didFailWithError, the url inside of the tconnection parameter is (null)... (???)I have never had so much trouble with an iOS update breaking our app. The build created with Xcode 10 runs fine (on either iOS 12 or 13), and the builds I create with Xcode 11.1 run fine on iOS 12. But if I build with the latest Xcode and run on the latest iOS, it's all sorts of broken.Any ideas what could be going wrong? Are there new-fangled features I could opt out of until they are debugged? I didn't really find any developer instructions for changes you would need to make for your app to work with the new iOS version or Xcode, so it seems like it should just work still.
Posted Last updated
.