Post

Replies

Boosts

Views

Activity

Unable to export App via Jenkins pipeline
Hi Team, Exporting the archive through the Jenkins pipeline (executing commands on a Mac EC2 instance as a Jenkins agent) isn't working, while exporting directly from the Mac terminal successfully generates the IPA file. What might be the cause? When we execute it on directly Mac terminal, it asks Keychain password first time & after that it automatically generates IPA file. Note : We are using below working command to open keychain access. security unlock-keychain -p "my_password" /Users/ec2-user/Library/Keychains/login.keychain-db Export command : xcodebuild -exportArchive -archivePath $PWD/build/Archive/MyApp.xcarchive -exportPath $PWD/build/IPA -exportOptionsPlist ../../Dev_exportOptions.plist -allowProvisioningUpdates Current details: Node version : node-v18.17.0-darwin-arm64 Npm version : 9.6.7 Ionic version : 5.2.6 Xcode version : 15.4 Macos : Sonoma 14.6.1
0
0
72
1w
[iOS 18 DB7] Unable to trust certificates
I bought a new iPhone 16, iOS18 (22A3354). Data is synced from the old device. The old device has a certificate under Settings - General - "VPN & Device Management". The iPhone16 device is not synced to the certificate. After I manually added it on my iPhone16, I didn't find the certificate in Settings - General - About - certificate trust settings. I tried restarting and reimporting, it still doesn't work. Erase the iPhone and re-import the certificate, which is successfully trusted. I tried another iPhone 15 device, upgraded to iOS18. After the certificate is imported, the certificate is successfully trusted. The problem seems to be related to data synchronization to iOS18 devices. Is this just a bug? Is there any solution?
2
4
308
1w
"Command SwiftCompile failed with a nonzero exit code" error by [Product] - [Archive]
The app in question was recently distributed on September 4,2024. This time, there have been some minor improvements. To test new version on my iPhone, compiling is done completely. But when I archive it for distribution, I get the following error. While running pass #985712 SILFunctionTransform "DeadArgSignatureOpt" on SILFunction "@$s15Petty_treasurer12PhotosViewerC8onReturnyyF". for 'onReturn()' (at /Users/ymdakr/MyAppli/Petty_accountant/Petty_accountant/PhotosViewer.swift:173:11) Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var LLVM_SYMBOLIZER_PATH to point to it): 0 swift-frontend 0x0000000107a5b0fc llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56 1 swift-frontend 0x0000000107a59350 llvm::sys::RunSignalHandlers() + 112 2 swift-frontend 0x0000000107a5b6c8 SignalHandler(int) + 292 3 libsystem_platform.dylib 0x000000018deae584 _sigtramp + 56 4 swift-frontend 0x0000000103cb3c54 swift::AbstractFunctionDecl::isDistributedTargetInvocationResultHandlerOnReturn() const + 356 5 swift-frontend 0x0000000103cb3c54 swift::AbstractFunctionDecl::isDistributedTargetInvocationResultHandlerOnReturn() const + 356 6 swift-frontend 0x000000010305cc74 canSpecializeFunction(swift::SILFunction*, swift::CallerAnalysis::FunctionInfo const*, bool) + 444 7 swift-frontend 0x000000010305c2e4 (anonymous namespace)::FunctionSignatureOpts::run() + 212 8 swift-frontend 0x0000000103247554 swift::SILPassManager::runFunctionPasses(unsigned int, unsigned int) + 3448 9 swift-frontend 0x0000000103240d74 swift::SILPassManager::executePassPipelinePlan(swift::SILPassPipelinePlan const&) + 252 10 swift-frontend 0x000000010327d084 swift::SimpleRequest (swift::SILPipelineExecutionDescriptor), (swift::RequestFlags)1>::evaluateRequest(swift::ExecuteSILPipelineRequest const&, swift::Evaluator&) + 56 11 swift-frontend 0x00000001032609e8 swift::ExecuteSILPipelineRequest::OutputType swift::Evaluator::getResultUncached(swift::Evaluator&, swift::ExecuteSILPipelineRequest)::'lambda'()>(swift::ExecuteSILPipelineRequest const&, swift::ExecuteSILPipelineRequest::OutputType swift::evaluateOrFatal(swift::Evaluator&, swift::ExecuteSILPipelineRequest)::'lambda'()) + 412 12 swift-frontend 0x00000001032636c4 swift::runSILOptimizationPasses(swift::SILModule&) + 440 13 swift-frontend 0x00000001027db3f8 swift::CompilerInstance::performSILProcessing(swift::SILModule*) + 1160 14 swift-frontend 0x0000000102405d68 performCompileStepsPostSILGen(swift::CompilerInstance&, std::__1::unique_ptr>, llvm::PointerUnion, swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver*) + 1376 15 swift-frontend 0x00000001024056e4 swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 2888 16 swift-frontend 0x0000000102408228 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 1680 17 swift-frontend 0x0000000102406f58 swift::performFrontend(llvm::ArrayRef, char const*, void*, swift::FrontendObserver*) + 3572 18 swift-frontend 0x000000010238e01c swift::mainEntry(int, char const**) + 3680 19 dyld 0x000000018daf3154 start + 2476 Command SwiftCompile failed with a nonzero exit code Previously distributed version is also giving the same error. Development environment: Xcode 16, macOS Sonoma 14.6.1 Run-time configuration: iOS 18
3
0
97
1w
Upload Symbols Failed on XCode 16
I recently upgraded to MacOS Sequioa 15.0 and had to update to Xcode 16 as a result. I am using iOSAppSDK.framework and now when I want to archive and distribute an app to TestFlight I get this warning... The archive did not include a dSYM for the iOSAppSDK.framework with the UUIDs[...]. Ensure that the archive's dSYM folder includes a DWARF file for iOSAppSDK.framework with the expected UUIDs. Everything worked fine before the update. Even though it seems that the app is deployed correctly, at least from the Developer web site, the version is not actually updated. Can you help me fix this?
1
2
721
1w
Xcode 16.0 and 16.1 regression: only allows .scn files to be added to .scnassets group
There is a significant regression in Xcode 16.0 and 16.1 (16B5014f) in that it no longer allows asset files other than .SCN files to be added to a .scnasset group and folder. This really wrecks our ability to maintain our app since we heavily depend on additional assets like .USDZ, .JPEG, .PNG, etc. files to be able to be included in the group for on-demand resource tagging and loading. I filed FB15239224 but I'm wondering if this is intentional and if anyone knows of a workaround.
0
0
103
1w
Same email address -- different IDs -- how to fix?
I use the same email address both in xCode and at developer.apple.com. I have only one team (individual) in xCode, and it uses that particular email. If I look at the Signing Certificate at Signing and Capabilities at Xcode, there is a 10-digit identifier after it, lets call it QWERTYUIOP. When I then go to the developer.apple.com, and log in with the same email address I use in xCode, my Team ID is different than in xCode, lets call it ASDFGHJKLX. The same identifier can be found at Certificates, Identifiers & Profiles. When I developed an Xcode app and tried to get it processed in developer.apple.com, no bundle IDs were found. If I look at my Keychain Access I have certificates with both IDs available. My Developer Certificates are from xCode (QWERTYUIOP) and my distribution certificates are from developer.apple.com (ASDFGHJKLX). I've deleted and re-created them several times but that's what happens. Can anybody help? Support has not been responsive yet.
1
0
102
1w
Xcode 16 | xcodebuild fails when providing -destination 'platform=iOS Simulator,name=iPhone 16,arch=x86_64'
Hello. In the Xcode 15 we were using this command in the terminal to run our tests on the Rosetta Simulator: xcodebuild -workspace CoreLibraries.xcworkspace -scheme CoreLibraries -destination 'platform=iOS Simulator,name=iPhone 15,arch=x86_64' test` In the Xcode 16 the same command doesn't work anymore. It produces the error: xcodebuild: error: Unable to find a device matching the provided destination specifier: { platform:iOS Simulator, arch:x86_64, OS:latest, name:iPhone 16 } Unsupported device specifier option. The device “iPhone 16” does not support the following options: arch Please supply only supported device specifier options. Running test directly from the Xcode UI using iPhone 16 (Rosetta) still works fine. Does anyone know how to modify the xcodebuild command to make it work again?
8
6
445
1w
Xcode 16 not able to load simulator
I am using Xcode from past 3 months and it was working fine but today after update the xcode is very slow and simulator is not loading Here are logs that I am able to get == DATE: Monday, 23 September 2024 at 7:59:17 PM India Standard Time 2024-09-23T14:29:17Z == PREVIEW UPDATE ERROR: AppLaunchTimeoutError: Failed to launch app ”Test16Project.app” in reasonable time The app ”Test16Project.app” did not launch on ”iPhone 16 Pro” in 15 seconds. bundle identifier: text.Testing.Test16Project device name: iPhone 16 Pro path: /Users/newsbytes/Library/Developer/Xcode/DerivedData/Test16Project-aqxeusbqtdgwgrdxunllddzqyzwq/Build/Products/Debug-iphonesimulator/Test16Project.app == PREVIEW UPDATE ERROR: AppLaunchTimeoutError: Failed to launch app ”Test16Project.app” in reasonable time The app ”Test16Project.app” did not launch on ”iPhone 16 Pro” in 15 seconds. bundle identifier: text.Testing.Test16Project device name: iPhone 16 Pro path: /Users/newsbytes/Library/Developer/Xcode/DerivedData/Test16Project-aqxeusbqtdgwgrdxunllddzqyzwq/Build/Products/Debug-iphonesimulator/Test16Project.app == VERSION INFO: Tools: 16A242d OS: 23G93 PID: 1116 Model: iMac Arch: x86_64h == ENVIRONMENT: openFiles = [ /Users/newsbytes/Desktop/Test16Project/Test16Project/ContentView.swift ] wantsNewBuildSystem = true newBuildSystemAvailable = true activeScheme = Test16Project activeRunDestination = Any iOS Device variant iphoneos undefined_arch workspaceArena = [x] buildArena = [x] buildableEntries = [ Test16Project.app ] runMode = JIT Executor == SELECTED RUN DESTINATION: Generic | iOS 18.0 | iphoneos | undefined_arch | GenericiOS | no proxy == EXECUTION MODE OVERRIDES: Workspace JIT mode user setting: true Falling back to Dynamic Replacement: false == PACKAGE RESOLUTION ERRORS: ------------------------------------- Translated Report (Full Report Below) Incident Identifier: C461C69D-1F80-4A0D-B557-8A4425D0C259 CrashReporter Key: 238ECF50-D585-D26B-E449-45E2A49004C2 Hardware Model: iMac19,1 Process: MobileCal [7760] Path: /Volumes/VOLUME/*/MobileCal.app/MobileCal Identifier: com.apple.mobilecal Version: 1.0 (1) Code Type: X86-64 (Native) Role: Non UI Parent Process: launchd_sim [6541] Coalition: com.apple.CoreSimulator.SimDevice.251B8E2E-21BD-4668-A0D8-D3DC5D1FA3BE [1654] Responsible Process: SimulatorTrampoline [1174] Date/Time: 2024-09-23 20:08:53.5192 +0530 Launch Time: 2024-09-23 20:08:13.8949 +0530 OS Version: macOS 14.6.1 (23G93) Release Type: User Report Version: 104 Exception Type: EXC_CRASH (SIGKILL) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: FRONTBOARD 2343432205 <RBSTerminateContext| domain:10 code:0x8BADF00D explanation:process-launch watchdog transgression: app<com.apple.mobilecal((null))>:7760 exhausted real (wall clock) time allowance of 30.00 seconds ProcessVisibility: Background ProcessState: Running WatchdogEvent: process-launch WatchdogVisibility: Background WatchdogCPUStatistics: ( "Elapsed total CPU time (seconds): 54.760 (user 37.980, system 16.780), 28% CPU", "Elapsed application CPU time (seconds): 1.595, 1% CPU" ) reportType:CrashLog maxTerminationResistance:Interactive> Triggered by Thread: 0 Kernel Triage: VM - (arg = 0x0) Fault was interrupted VM - (arg = 0x0) Fault was interrupted Thread 0 Crashed: 0 dyld_sim 0x10a14b6cb dyld3::MachOFile::trieWalk(Diagnostics&, unsigned char const*, unsigned char const*, char const*) + 179 1 dyld_sim 0x10a131e0c dyld4::Loader::hasExportedSymbol(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::ExportedSymbolMode, dyld4::Loader::ResolverMode, dyld4::Loader::ResolvedSymbol*, dyld3::Array<dyld4::Loader const*>) const + 358 2 dyld_sim 0x10a13115b dyld4::Loader::resolveSymbol(Diagnostics&, dyld4::RuntimeState&, int, char const, bool, bool, void (unsigned int, unsigned int, dyld4::Loader::ResolvedSymbol const&) block_pointer, bool) const + 935 3 dyld_sim 0x10a130d69 invocation function for block in dyld4::Loader::forEachBindTarget(Diagnostics&, dyld4::RuntimeState&, void (unsigned int, unsigned int, dyld4::Loader::ResolvedSymbol const&) block_pointer, bool, void (dyld4::Loader::ResolvedSymbol const&, bool&) block_pointer, void (dyld4::Loader::ResolvedSymbol const&, bool&) block_pointer) const + 116 4 dyld_sim 0x10a14e884 invocation function for block in mach_o::Fixups::forEachBindTarget_ChainedFixups(Diagnostics&, void (mach_o::Fixups::BindTargetInfo const&, bool&) block_pointer) const + 61 5 dyld_sim 0x10a14b062 dyld3::MachOFile::forEachChainedFixupTarget(Diagnostics&, dyld_chained_fixups_header const*, linkedit_data_command const*, void (int, char const*, unsigned long long, bool, bool&) block_pointer) + 198 6 dyld_sim 0x10a14e66c mach_o::Fixups::forEachBindTarget_ChainedFixups(Diagnostics&, void (mach_o::Fixups::BindTargetInfo const&, bool&) block_pointer) const + 130 7 dyld_sim 0x10a130cc9 invocation function for block in dyld4::Loader::forEachBindTarget(Diagnostics&, dyld4::RuntimeState&, void (unsigned int, unsigned int, dyld4::Loader::ResolvedSymbol const&) block_pointer, bool, void (dyld4::Loader::ResolvedSymbol const&, bool&) block_pointer, void (dyld4::Loader::ResolvedSymbol const&, bool&) block_pointer) const + 255 8 dyld_sim 0x10a150433 dyld3::MachOAnalyzer::withVMLayout(Diagnostics&, void (mach_o::Layout const&) block_pointer) const + 827 9 dyld_sim 0x10a130bc4 dyld4::Loader::forEachBindTarget(Diagnostics&, dyld4::RuntimeState&, void (unsigned int, unsigned int, dyld4::Loader::ResolvedSymbol const&) block_pointer, bool, void (dyld4::Loader::ResolvedSymbol const&, bool&) block_pointer, void (dyld4::Loader::ResolvedSymbol const&, bool&) block_pointer) const + 92 10 dyld_sim 0x10a136426 dyld4::JustInTimeLoader::applyFixups(Diagnostics&, dyld4::RuntimeState&, dyld4::DyldCacheDataConstLazyScopedWriter&, bool, lsl::Vector<std::__1::pair<dyld4::Loader const*, char const*>>) const + 468 11 dyld_sim 0x10a120d78 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const) + 1617 12 dyld_sim 0x10a1206f4 _dyld_sim_prepare::$_0::operator()() const + 460 13 dyld_sim 0x10a12030e _dyld_sim_prepare + 782 14 dyld 0x119e22e21 dyld4::prepareSim(dyld4::RuntimeState&, char const*) + 1558 15 dyld 0x119e215d1 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 279 16 dyld 0x119e212e4 start + 1812
1
3
224
1w
What are the model identifiers for the iPhone 16 Pro and iPhone 16 Pro Max?
What are the model identifiers for the iPhone 16 Pro and iPhone 16 Pro Max? static func getiPhoneType() -> String { var systemInfo = utsname() uname(&systemInfo) let machineMirror = Mirror(reflecting: systemInfo.machine) let identifier = machineMirror.children.reduce("") { identifier, element in guard let value = element.value as? Int8, value != 0 else { return identifier } return identifier + String(UnicodeScalar(UInt8(value))) } return identifier } Does anyone have a real device to run the code and provide the information for the iPhone 16 Pro and iPhone 16 Pro Max?
0
0
151
1w
Upgraded to Sequoia & Xcode 16.0, now build doesn't work
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/__format/formatter_floating_point.h:66:30: error: 'to_chars' is unavailable: introduced in macOS 13.3 66 | to_chars_result __r = std::to_chars(__first, __last, __value, __fmt); Which, ok, I can accept that this is true. Except that this worked on Friday, on the same machine running Sonoma and the previous version of Xcode. The project is configured for a deployment target of 12.0, so it should have failed before, but didn't. (This is a CMake-generated xcodeproj, but that also should not have been any change.)
3
1
175
1w
Not being able to enroll to Apple Developer program
I am encountering an issue while trying to enroll in the Apple Developer Program. Every time I attempt to complete the enrollment process, I’m prompted to agree to the terms and conditions. However, after pressing “Agree,” I receive the error message: “Your enrolment could not be processed at this time.” This issue has been persistent for the past two days, and despite repeated attempts to complete the enrollment, I’m unable to proceed beyond the terms and conditions agreement. I’ve ensured that my account information is correct and that my payment method is up to date, but the problem continues. Any help or guidance would be greatly appreciated!
0
0
72
1w
Incorrect Company Name Displayed in TestFlight Invitation
I received two different emails from Apple regarding my developer account: An App Store invitation email stating: "You're invited to join a development team, Acme Corp, in the Apple Developer Program so you can help develop, distribute, and manage their apps." The company name here correctly shows "Acme Corp." A TestFlight invitation email with the subject line: "TechSolutions LLC has invited you to test ShopEasy." In this email, "TechSolutions LLC" appears as the company name, but it should be either "Acme Corp" or simply the app name, "ShopEasy." For context, I have two apps in my account: ShopEasy and TechApp. They are created as separate apps under Acme Corp, which is the entity registered in my Apple Developer account membership. Despite this, when I build ShopEasy for TestFlight, the email subject uses "TechSolutions LLC" as the company name, which is confusing for testers. Could someone help me understand where "TechSolutions LLC" is coming from, and how I can fix this so that the correct app name or entity (Acme Corp) is shown in the TestFlight emails? Thanks for your assistance!
0
0
56
1w
ASWebAuthenticationSession issue on iOS 18 simulator
We have some third-party SDKs do not support arm64 simulator, so we excluded arm64 for Any iOS Simulator SDK in Excluded Architectures. But in this case, ASWebAuthenticationSession will display abnormally. We submitted FB14853757 during the beta period, but have not received any response. This issue still exists in the official version. I hope it can be resolved. Thank you!
3
0
250
1w
statusBarFrame error
Using an iPhone 16 Pro Max, running [UIApplication sharedApplication].windows.lastObject.windowScene.statusBarManager.statusBarFrame.size.height in Xcode 15 returns a result of 44, causing UI display issues for applications that rely on the status bar height for calculations. However, using Xcode 16, the same code returns a height of 54, and the UI displays correctly. Is this an Apple Please acknowledge this bug, Apple.
0
1
77
1w