Post not yet marked as solved
I try to use "Download container" on "Devices and Simulators".
But on iOS 17, xcappdata file size is 4KB and ''AppData" folder is empty.
On iOS 15, xcappdata file size is 2MB and success downloaded.
Xcode show these error when I unplug iOS 17 and plugin iOS 15.
The system failed to get a list of files on the remote device.
Domain: com.apple.dt.CoreDeviceError
Code: 7001
User Info: {
DVTErrorCreationDateKey = "2023-12-12 07:39:24 +0000";
NSFilePath = "";
}
--
Unknown response: {
XPCErrorDescription => Connection interrupted
}
Domain: com.apple.dt.remoteservices.error
Code: -1
--
System Information
macOS Version 14.2 (Build 23C64)
Xcode 15.1 (22502) (Build 15C65)
Timestamp: 2023-12-12T15:39:24+08:00
PS.
I had turn on [Airplane mode] on iOS 17.
Post not yet marked as solved
After updating xcode, there is new issue at creating archive.
Post not yet marked as solved
it can read the files before I replace container in xcode .
Has anyone encountered the same problem? and any solution?
Error: Error Domain=NSCocoaErrorDomain Code=257 "The file “Documents” couldn’t be opened because you don’t have permission to view it." UserInfo={NSUserStringVariant=(
Folder
), NSFilePath=/var/mobile/Containers/Data/Application/97D816A0-8B58-4E33-8455-3F19E0A9FBAA/Documents, NSUnderlyingError=0x281e650b0 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}}
Is there a correct way to archive a dynamic library in Xcode? When I try it, Xcode produces a "Generic Xcode Archive", and there is no option to notarize. The article TN3110: Resolving generic Xcode archive issue seems to be all about archiving an app.
Post not yet marked as solved
I wanna test my SwiftUI app on TestFlight and then I'll release the app on App Store. However, I get an error during Distribute App processing. I do Archive and Distribute App with TestFlight & App Store option and then I get "Assert Validation Failed" see below.
When I check output of compiling, I see a few warnings. You can see below.
I totally do not understand what problem is. How can I solve this problem ?
Post not yet marked as solved
Hi everyone,
I am having this error while trying to upload my iOS App with XCode.
Can someone help me? Why this kind of error if I can Build/Run and also Export the .IPA with Xcode and certificate but not upload?
Here is the error:
Here is my Info-PROD.plist that is watched by XCode (because it change the App Name and the bundle identifier):
I have try replace the MinimumOSVersion to LSMinimumSystemVersion and got more erros...
Can someone help?
Xcode 14.1 (14B47b)
Post not yet marked as solved
I have an Apple Watch SE (watchOS 10.1) paired to my phone via Family Setup. I'd like to connect it to Xcode to install apps on, but it's not appearing in Xcode's Device Organizer. Nor can I find the option to enable Developer Mode in Settings->Privacy & Security.
Note*: I do have my personal watch connected to Xcode. This would be the second watch I'm trying to build to.
Is this a limitation of Family Setup? Or is there some way I should be kicking the watch to have it recognized?
Post not yet marked as solved
I use to archive my app all the time and never had this problem the other day i implemented apple pay in my app but when i wanted to archive the app i couldnt and kept getting this error over and over even tho i tried all the solutions online
Error : error: shell-init: error retrieving current directory: getcwd: cannot access parent directories: Operation not permitted chdir: error retrieving current directory: getcwd: cannot access parent directories: Operation not permitted chdir: error retrieving current directory: getcwd: cannot access parent directories: Operation not permitted chdir: error retrieving current directory: getcwd: cannot access parent directories: Operation not permitted chdir: error retrieving current directory: getcwd: cannot access parent directories: Operation not permitted Standalone embedder initialization failed: Error determining current directory: Operation not permitted
i tried to go to settings Security & Privacy->Full Disk Access then allow xcode
Post not yet marked as solved
Hello
My team has noticed that starting around early-October 2023 all of our 90th and 50th percentile metrics in Organizer have been stuck with the "margin of error" detail, ranging from 10-20 percent.
We've been consistently using Organizer for over a year and usually see the margin of error for only for a couple days after a new app update is published - but now appear to be stuck without any clear reasons why. We've also tried on different versions of xcode 15, tried using "View -> Reload Organizer"; all with no success.
In general speak, our app:
has about a million sessions a day
has weekly releases
does not have metric issues in our other 3rd party libraries
Has something changed with the user opt-in for sharing data with developers? Has anyone else experienced this problem? Thanks
Post not yet marked as solved
After creating a basic table the application crashed while running a select query.
Translated Report (Full Report Below)
Process: MySQLWorkbench [1687]
Path: /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench
Identifier: com.oracle.workbench.MySQLWorkbench
Version: 8.0.32.CE (1)
Code Type: X86-64 (Translated)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2023-02-02 11:58:46.6293 +0530
OS Version: macOS 13.2 (22D49)
Report Version: 12
Anonymous UUID: 7B20408B-A4BE-478D-8402-4595E3D3D9C4
Time Awake Since Boot: 880 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Termination Reason: Namespace SIGNAL, Code 4 Illegal instruction: 4
Terminating Process: exc handler [1687]
Application Specific Backtrace 0:
0 CoreFoundation 0x00007ff8141d3cb3 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007ff813d2210a objc_exception_throw + 48
2 CoreFoundation 0x00007ff81426abbe -[NSObject(NSObject) __retain_OA] + 0
3 CoreFoundation 0x00007ff81413eab0 forwarding + 1324
4 CoreFoundation 0x00007ff81413e4f8 _CF_forwarding_prep_0 + 120
5 WBExtras 0x0000000109c371a1 -[MResultsetViewer tableView:willDisplayCell:forTableColumn:row:] + 393
6 AppKit 0x00007ff81753282e -[NSTableView _delegateWillDisplayCell:forColumn:row:] + 104
7 AppKit 0x00007ff817477676 -[NSTableView preparedCellAtColumn:row:] + 1835
8 MySQLWorkbench 0x0000000100bdfa98 -[MGridView preparedCellAtColumn:row:] + 54
9 AppKit 0x00007ff817476e41 -[NSTableView _drawContentsAtRow:column:withCellFrame:] + 42
10 AppKit 0x00007ff817476ac1 -[NSTableView drawRow:clipRect:] + 1638
11 AppKit 0x00007ff81747613c -[NSTableView drawRowIndexes:clipRect:] + 707
12 AppKit 0x00007ff817401cc4 -[NSTableView drawRect:] + 1670
13 AppKit 0x00007ff817334144 _NSViewDrawRect + 121
14 AppKit 0x00007ff817b193c3 -[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:] + 1810
15 AppKit 0x00007ff817333870 -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 753
16 QuartzCore 0x00007ff81c16db59 CABackingStoreUpdate_ + 254
17 QuartzCore 0x00007ff81c1d13c1 ___ZN2CA5Layer8display_Ev_block_invoke + 53
18 QuartzCore 0x00007ff81c16cd66 -[CALayer _display] + 2275
19 AppKit 0x00007ff8173334c5 -[_NSBackingLayer display] + 462
20 AppKit 0x00007ff8172ab455 -[_NSViewBackingLayer display] + 554
21 QuartzCore 0x00007ff81c16bd08 _ZN2CA5Layer17display_if_neededEPNS_11TransactionE + 900
22 QuartzCore 0x00007ff81c2e56c6 _ZN2CA7Context18commit_transactionEPNS_11TransactionEdPd + 648
23 QuartzCore 0x00007ff81c14cb35 _ZN2CA11Transaction6commitEv + 725
24 AppKit 0x00007ff81734496f __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 285
25 AppKit 0x00007ff817b5c767 ___NSRunLoopObserverCreateWithHandler_block_invoke + 41
26 CoreFoundation 0x00007ff81415b3e1 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 23
27 CoreFoundation 0x00007ff81415b309 __CFRunLoopDoObservers + 482
28 CoreFoundation 0x00007ff81415a866 __CFRunLoopRun + 877
29 CoreFoundation 0x00007ff814159e7f CFRunLoopRunSpecific + 560
30 HIToolbox 0x00007ff81dfec766 RunCurrentEventLoopInMode + 292
31 HIToolbox 0x00007ff81dfec576 ReceiveNextEventCommon + 679
32 HIToolbox 0x00007ff81dfec2b3 _BlockUntilNextEventMatchingListInModeWithFilter + 70
33 AppKit 0x00007ff8171e5293 _DPSNextEvent + 909
34 AppKit 0x00007ff8171e4114 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219
35 AppKit 0x00007ff8171d6757 -[NSApplication run] + 586
36 AppKit 0x00007ff8171aa797 NSApplicationMain + 817
37 dyld 0x0000000200ff6310 start + 2432
Kernel Triage:
VM - pmap_enter retried due to resource shortage
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 AppKit 0x7ff81754dc26 -[NSApplication _crashOnException:] + 287
1 AppKit 0x7ff817344bab __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 857
2 AppKit 0x7ff817b5c767 ___NSRunLoopObserverCreateWithHandler_block_invoke + 41
3 CoreFoundation 0x7ff81415b3e1 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 23
4 CoreFoundation 0x7ff81415b309 __CFRunLoopDoObservers + 482
5 CoreFoundation 0x7ff81415a866 __CFRunLoopRun + 877
6 CoreFoundation 0x7ff814159e7f CFRunLoopRunSpecific + 560
7 HIToolbox 0x7ff81dfec766 RunCurrentEventLoopInMode + 292
8 HIToolbox 0x7ff81dfec576 ReceiveNextEventCommon + 679
9 HIToolbox 0x7ff81dfec2b3 _BlockUntilNextEventMatchingListInModeWithFilter + 70
10 AppKit 0x7ff8171e5293 _DPSNextEvent + 909
11 AppKit 0x7ff8171e4114 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219
12 AppKit 0x7ff8171d6757 -[NSApplication run] + 586
13 AppKit 0x7ff8171aa797 NSApplicationMain + 817
14 dyld 0x200ff6310 start + 2432
Thread 1:: com.apple.rosetta.exceptionserver
0 runtime 0x7ff7ffc73614 0x7ff7ffc6f000 + 17940
1 runtime 0x7ff7ffc7f530 0x7ff7ffc6f000 + 66864
2 runtime 0x7ff7ffc80f30 0x7ff7ffc6f000 + 73520
Thread 2:
0 runtime 0x7ff7ffc9187c 0x7ff7ffc6f000 + 141436
Post not yet marked as solved
Hi!
We've recently released an usual app-update, but suddenly got a bunch of crashes in App Store Connect and almost none in Firebase Crashlytics.
According to customer support, for some users the app insta-crashes. A white screen appears for a flash and then they're returned to the home screen. The app always insta-crashes, only a reinstall fixes it.
It makes sense while Crashlytics isn't reporting any crashes, because it doesn't even get a chance to run and upload the crash reports to their server.
The Xcode organizer does show a bunch of crashes, but with no stack trace. It just says MyApp: NO_CRASH_STACK. Looking at the explicit 'xccrashpoint' in Finder reveals a couple of crash reports, that I've attached, but they're not that useful.
As far as I can tell, the app crashes while it's trying to load the Swift core, that's embedded in the app, but I'm not sure why that would cause a crash. Maybe it was supposed to use the library embedded in iOS (/usr/lib/swift/libswiftCore.dylib)?
Any help would be greatly appreciated 🍺!
report.crash
Post not yet marked as solved
Getting issue in. uploading build from Xcode 14.1. My OS is Ventura 13.0.
I am getting following error wile uploading app.
Metadata/Info.plist Mismatch. The value for bundle_version in the metadata.xml file does not match the value for CFBundleVersion in Corey Health [Payload/Corey.app]. (ID: 9726552c-a8a0-4e23-aec7-a5e20ac2ce1f).
Please help
Post not yet marked as solved
Good Morning,
I get this error every time I try to make the archive and I don't see any more information, nor have I found a solution, could you please help me to solve it?
ld: building for 'iOS', but linking in object file (/Users/juanjo/Documents/Jabali/platforms/ios/build/Debug-iphonesimulator/XCFrameworkIntermediates/GoogleAppMeasurement/WithoutAdIdSupport/GoogleAppMeasurement.framework/GoogleAppMeasurement[arm64][3](apm_experimentation .pb.o)) built for 'iOS-simulator'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Post not yet marked as solved
Hi Apple.
Currently we're facing an issue when exporting the file as an ipa,
by mean our previous ipa file version giving Malware as "JS:Pdfka-gen" inside,
we do the app scanning with https://www.virustotal.com/,
it saying that there is a "JS:Pdfka-gen" inside the ipa file, is there any solution or hint how we can prevent the issue, because also testflight is accepting the ipa build that containing that Malware.
Post not yet marked as solved
I use Xcode 15, pods 1.14.0, ruby 3.2.2.
My project builds fine for simulator, but I get an error when trying to build archive :
rsync: [sender] change_dir "/Users/myname/MyApp../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos" failed: No such file or directory (2)
brew is up to date, so is rsync
All updates look good. I'm struggling for days now, I can't get what's wrong.
Did anyone faced this issue ?
Post not yet marked as solved
General:
DevForums tags: Debugging, LLDB, Graphical Debugger
Xcode > Debugging documentation
Diagnosing memory, thread, and crash issues early documentation
Diagnosing issues using crash reports and device logs documentation
Choosing a Network Debugging Tool documentation
Testing a release build documentation
Isolating Code Signing Problems from Build Problems DevForums post
What is an exception? DevForums post
Language Exception from RCTFatal DevForums post
Standard Memory Debugging Tools DevForums post
Using a Sysdiagnose Log to Debug a Hard-to-Reproduce Problem DevForums post
Posting a Crash Report DevForums post
Implementing Your Own Crash Reporter DevForums post
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
Post not yet marked as solved
Hello All,
I am stuck in this error for a week. I tried reinstalling Xcode 14.1, adding '-f' in frameworks.sh but neither worked. Below is the error. I would really appreciate if you can help.
Also, build gets succeeded and also I can run the app on the simulator, but I cannot archive it.
Error
PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/dhiralpanjwani/Library/Developer/Xcode/DerivedData/Lupus_Decision_Aid-haxtkzwojyytuwedvxiexocoohxi/Build/Intermediates.noindex/ArchiveIntermediates/Lupus\ Decision\ Aid/IntermediateBuildFilesPath/Lupus\ Decision\ Aid.build/Release-iphoneos/Lupus\ Decision\ Aid.build/Script-570BD887603D2E782013C015.sh (in target 'Lupus Decision Aid' from project 'Lupus Decision Aid')
cd /Users/dhiralpanjwani/Downloads/iOS/Lupus\ Decision\ Aid\ copy
/bin/sh -c /Users/dhiralpanjwani/Library/Developer/Xcode/DerivedData/Lupus_Decision_Aid-haxtkzwojyytuwedvxiexocoohxi/Build/Intermediates.noindex/ArchiveIntermediates/Lupus\\ Decision\\ Aid/IntermediateBuildFilesPath/Lupus\\ Decision\\ Aid.build/Release-iphoneos/Lupus\\ Decision\\ Aid.build/Script-570BD887603D2E782013C015.sh
mkdir -p /Users/dhiralpanjwani/Library/Developer/Xcode/DerivedData/Lupus_Decision_Aid-haxtkzwojyytuwedvxiexocoohxi/Build/Intermediates.noindex/ArchiveIntermediates/Lupus Decision Aid/BuildProductsPath/Release-iphoneos/Lupus Decision Aid.app/Frameworks
/Users/dhiralpanjwani/Downloads/iOS/Lupus Decision Aid copy/Pods/Target Support Files/Pods-Lupus Decision Aid/Pods-Lupus Decision Aid-frameworks.sh: line 43: source: unbound variable
Command PhaseScriptExecution failed with a nonzero exit code
Post not yet marked as solved
I am facing the below problem.
I do not provide distribution certificates to development contractors.
Therefore, the development contractor cannot create a signed package file for distribution.
I will not be provided with source code by the development contractor.
Therefore, I cannot build from the source code and create a package file for distribution.
In this situation, can I obtain the binary (ipa file?) from the contractor and create a signed package file for distribution?
Also I found this post on this forum
(https://developer.apple.com/forums/thread/717503))
• If the client is happy to add you to their team with appropriate privileges, you can send them a distribution-signed .ipa and they can upload it using Transporter. That’s a relatively smooth path.
• If not, a common practice is to send them a development-signed .ipa and have them re-sign it. This is a very rocky road and I recommend against it. A better option is to send them an Xcode archive (.xcarchive) and have them submit from there. They have to install Xcode, but that’s not too hard.
>A better option is to send them an Xcode archive (.xcarchive) and have them submit from there. They have to install Xcode, but that’s not too hard.
It is recommended to use .xcarchive.
For this method
The development contractors creates an .xcarchive file from the development certificate and provisioning file.
Can I use Xcode to create a distribution package file from the development .xcarchive I receive?
If possible, could you please tell me the specific steps?
Post not yet marked as solved
So I've been working on a React Native App recently using Expo. Before the official release of XCode 15 and iOS 17, I had a janky workaround where I would archive the app in XCode 15 and then deploy it in XCode 14. Or maybe it was the other way around.
But now I can't find any way to deploy my IPA to my iPhone for local testing. The app runs just fine when running locally. The steps that I'm currently going through are as follows:
npx expo prebuild --platform ios --clean
npx pod-install
Open the [App].xcworkspace (XCode 15)
Choose my signing team (Why do I have to do this every time?)
Menu > Product > Archive (Succeeds!)
Open the Organizer (Windows > Organizer)
Run Validate (Just because I'd expect this to catch any errors) (Succeeds!)
Distribute App > Debugging (I've tried Release Testing too)
Open Devices
My iPhone > Installed Apps > + > (The new build's IPA)
And the output is always some variant pretty close to what's copied below. I'm sort of at my wits end here. Anyone got any insight or advice? Thanks!
Error installing '/Users/[path]/app.ipa', ERROR: Error Domain=com.apple.dt.CoreDeviceError Code=3002 "Failed to install the app on the device." UserInfo={NSURL=file:///Users/[path]/[App].ipa, NSLocalizedDescription=Failed to install the app on the device., NSUnderlyingError=0x60000e28aaf0 {Error Domain=com.apple.dt.CoreDeviceError Code=3000 "The item at [App].ipa is not a valid bundle." UserInfo={NSURL=file:///[Path]/[App].ipa, NSLocalizedFailureReason=Failed to read the bundle., NSLocalizedDescription=The item at [App].ipa is not a valid bundle.}}}
Post not yet marked as solved
I have move to an M2 sillicon, was on 14.3 downgraded to 14.2 as I saw on other posts, but i cannot archive either with xcode or fastlane my project I get :
error: Could not complete submission of dSYM at /Users/me/Library/Developer/Xcode/DerivedData/MyApp-dgiquvsgpvkjfjcvhtcnrnpbekbj/Build/Intermediates.noindex/ArchiveIntermediates/HangersPro/BuildProductsPath/Release-iphoneos/MyApp.app.dSYM: Error Domain=com.crashlytics.mac.error-domain.process-dsym Code=2 "File no longer exists at (null)" UserInfo={NSLocalizedFailureReason=File no longer exists at (null)}
... i ve been stuck for 3 weeks this is really hurting my business we cannot deploy since. any one has alternative idea ?