Developer Tools

RSS for tag

Ask questions about the tools you can use to build apps.

Developer Tools Documentation

Posts under Developer Tools tag

327 Posts
Sort by:
Post not yet marked as solved
2 Replies
557 Views
We develop an SDK that is distributed as a statically linked, closed source Swift Package. Our customers have reported an issue when attempting to ship an application to the App Store using Xcode 15.3 that is preventing them from uploading the application: Asset validation failed Invalid Bundle. The bundle <AppName>.app/Frameworks/<Framework>.framework does not support the minimum OS Version specified in the Info.plist. (ID: 9cec9306-80a4-4503-a9bf-bd6e367f9679) Our SDK has a minimum deployment target of iOS 13.0 and the customer has a deployment target of 15.2. During local testing, I find that if my application and framework BOTH share the same deployment target of 13.0, then the App Store validation passes. If the application minimum version is greater than the framework minimum version, then the check fails. Researching on the internet, other people have suggested making the minimum deployment version of these Swift Packages to be GREATER than the app version. For instance, a handful of the Google SDKs shipped as binary packages on SPM are setting their minimum deployment version to 100.0 to work around this issue. I have tried this locally and found that if my app minimum deployment target is 15.2 and I set the MinimumOSVersion in the framework’s Info.plist file to 100, it passes the AppStore validation. It would appear that the check is inverted on App Store validation process. It is expected that an application can be submitted to the AppStore using a framework that works with older deployment targets. This issue appears to be related to the fact that Xcode 15.3 now embeds a .framework for statically linked framework dependencies. This is presumably done so that third party SDK's PrivacyInfo.xcprivacy can be included in the app package that it distributed to the app store. The binary portion of the statically linked library turns out to be much smaller (approx 35k) than the binary portion distributed in the .xcframework and appears to just be a small placeholder that does nothing since the actual code from the library is statically linked into the resulting application. The problem with the workaround that the other framework vendors have taken is that eventually (hopefully)  will fix this check and then these frameworks will appear to target a no existing iOS version. The other workaround that I spoke to our customer about was also extremely hackish and not really recommended was to resolve the Swift Package, then manually modify the contained Info.plist file to set the MinimumOSVersion in there to match what they are targeting for their application. This, however, then breaks the code signing of the SDK. So they then need to delete the _CodeResources folder from the resolved .xcframework. None of these work arounds are really sustainable and violate all the things right in the world. I have created feedback FB13704428 for this issue, but am hoping to raise further awareness as this is causing customers to not be able to ship applications using our, and many other, third party SDKs. Additional reading: https://github.com/google/GoogleSignIn-iOS/issues/375 https://github.com/google/abseil-cpp-binary/pull/6/files (If you examine the info.plist files in the two versions, you can see the minimum version set to 100 in the latest) https://github.com/AppsFlyerSDK/AppsFlyerFramework/issues/263 https://www.reddit.com/r/swift/comments/1bd7kxj/swift_ios_cannot_upload_to_testflight/
Posted
by
Post not yet marked as solved
1 Replies
182 Views
I'm tracking down a test error in openssl currently. Periodically we see a failure in a thread ******* test (as an example): https://github.com/openssl/openssl/actions/runs/8437420903/job/23198617572 In which the counter in this test reports going backwards, despite using atomic loads/stores to monotonically update it. we are unable to reproduce this issue on bare metal M1 hardware, its only on virtualized M1 hardware that we see this problem. One of the things that I have found is that an atomic load, when using apples distributed version of clang 15 is that the arm ldapr instruction is issued. however, if I manually implement the atomic load using an ldar instruction, the problem consistently abates. I believe (though I'm not yet certain) that github uses apples UTM virtualization on their CI runners. Is there an apple developer here that can comment on the behavior of the UTM virtual machine in regards to its handling of the ldapr instruction. It appears (though again, I'm not certain), that the virtualized M1 cpu may not be honoring (or not configuring) the localised ordering regions which the ldapr instruction honors, leading to incorrect sequential reads and writes.
Posted
by
Post not yet marked as solved
1 Replies
224 Views
I have the XCode Version 15.3 (15E204a). When I try to compile my application, the following errors occur: Undefined symbol: _GDTCCTConstructiOSClientInfo Undefined symbol: _GDTCCTNetworkConnectionInfoNetworkMobileSubtype Linker command failed with exit code 1 (use -v to see invocation) Any solution to fix this issue?
Posted
by
Post not yet marked as solved
0 Replies
209 Views
We used to run this command to get wifi info on mac. /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I but it seems with latest 14.4.1 , airport command has been deprecated and advised to use wdutil. The problem with wdutil is that it only works with sudo. Is there a way we can still get all wifi metrics without sudo an mac?
Posted
by
Post not yet marked as solved
0 Replies
209 Views
I'm a newbie to Reality Composer. Have constructed a couple of simple projects Have added text, and the "A a" is displayed, but as soon as it is selected for editing Properties, Xcode crashes. Running Ventura 13.3.1, and Reality Composer 1.5, Xcode 14.3.1. Will appreciate guidance on how to fix. Thanks!
Posted
by
Post not yet marked as solved
1 Replies
252 Views
Hi guys, I tried to build my app using EAS but got ✖ Failed to register bundle identifier com.fitlinez.pt Received an internal server error from Apple's App Store Connect / Developer Portal servers, please try again later This request can not be processed right now - Service not available because of maintenance activities, please try again after some time. I've checked the System Status https://developer.apple.com/system-status/ and everything seems green! but the problem persists. Does anyone know how to fix it?
Posted
by
Post not yet marked as solved
0 Replies
233 Views
Hi , We used to run this command to get wifi info on mac. /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I but it seems with latest 14.4.1 , airport command has been deprecated and advised to use wdutil. The problem with wdutil is that it only works with sudo. Is there a way we can still get all wifi metrics without sudo an mac?
Posted
by
Post not yet marked as solved
0 Replies
201 Views
We are testing Apple Pay integration with our payments application. We need some information about the test cards to test some negative scenarios like low balance, Address verification (AVS), incorrect CVV, Card declined, etc., We see many cards on the following page, but we are unsure which one to use to test the negative scenarios that I mentioned above. https://developer.apple.com/apple-pay/sandbox-testing/ I am reaching out to see if I can get some help with this.
Posted
by
Post not yet marked as solved
0 Replies
169 Views
We are testing Apple Pay integration, how do I know among the given cards in the following sandbox tester information page are debit cards https://developer.apple.com/apple-pay/sandbox-testing/
Posted
by
Post not yet marked as solved
2 Replies
249 Views
{"duration_ms":"227124", "share_with_app_devs":0,"roots_installed":0,"bug_type ":"142", "os_version": "iPhone OS 17.3.1 (21D61)", "slice_uuid":"D479D5BB-1F9F-3405- BFAA-254435395FF3","is_first_party":0,"incident_id":"DFA88D80-8E48-46E9-8 A18-4BCOC496D6EB", "timestamp":"2024-02-14 14:18:15.00 -0500", "app_name":"backboardd", "name":"backboardd"} Date/Time: 2024-02-14 14:14:26.336 -0500 End time: 2024-02-14 14:18:13.460 -0500 OS Version: iPhone OS 17.3.1 (Build 21D61) Architecture: arm64e Report Version: 44 Incident Identifier: DFA88D80-8E48-46E9-8A18-4BC0C496D6EB Data Source: Microstackshots Shared Cache: B497C9DB-C62E-372D-B727-868EE7931E1 slid base address 0x186c3c000, slide 0x6c3c000 Shared Cache: E6753008-4C83-3F88-899E-202E9BAE2994 slid base address 0x19108000, slide 0x1108000 Command: backboardd Path: /usr/libexec/backboardd Resource Coalition ID: 73 On Behalf Of: 1 sample backboardd [66], 1 sample UNKNOWN [60] Architecture: arm64e Parent: UNKNOWN [1] PID: 66 Event: wakeups Action taken: none 45002 wakeups over the last 227 seconds (198 wakeups per second average), exceeding limit of 150 wakeups per second over 300 seconds Wakeups limit: 45000 Limit duration: 300s Wakeups caused: 45002 Wakeups duration: 227s Duration: 227.125 Duration Sampled: 226.25s Steps: 249 Hardware model: iPhone14,8 Active cpus: 6 HW page size: VM page size: 16384 16384 Advisory levels: Battery -&gt; 2, User -&gt; 3, ThermalPressure -&gt; 0, Combined - &gt; 2 Free disk space: 93.55 GB/119.07 GB, low space threshold 150 MB Vnodes Available: 62.95% (15107/24000, 12000 allocated, 12000 soft limit) Preferred User Language: en-US Country Code: US Keyboards: en_US QWERTY, emoji Emoji OS Cryptex File Extents: 1 Heaviest stack for the target process: 30 ??? (libsystem_pthread.dylib + 6660) [0x1f8b0ba04] 30 ??? (libsystem_pthread.dylib + 6500) [0x1f8b0b964] 29 ??? (libdispatch.dylib + 92280) [0x1969e4878] 29 ??? (libdispatch.dylib + 94212) [0x1969e5004] 17 ??? (libdispatch.dylib + 54952) [0x1969db6a8] 16 ??? (libdispatch.dylib + 50168) [0x1969da3f8] libsystem_pthread.dylib 0x1fb3be000 - 0x1fb3c1fff 10SurfaceAccelerator &lt;007AAAE6-5817-3A37-BDCC-0A650D29174E&gt; /System/Library/ PrivateFrameworks/lOSurfaceAccelerator.framework/lOSurfaceAccelerator 0x1c316000 - 0x1c339fff ANEServices &lt;8710EDDB-6F92-3D92-AB24-0D4C1BCB890D&gt; /System/Library/ PrivateFrameworks/ANEServices.framework/ANEServices 0x229c09000 - 0x229dc3fff H13ISP.mediacapture /System/Library/MediaCapture/ H13ISP.mediacapture 0х233403000 - 0x233776fff NRFV3 &lt;4A85805A- D53A-336D-B4A7-3E6DA86B6AA7&gt; /System/Library/VideoProcessors/ NRFV3.bundle/NRFV3 Powerstats for: appleh13camerad UUID: 5476D86A-AEE4-3CC1-B022-F853712B83C6 Path: /usr/sbin/appleh13camerad Shared Cache: B497C9DB-C62E-372D-B727-868EE7931E1 slid base address 0x186c3c000, slide 0x6c3c000 Resource Coalition ID: 187 Architecture: arm64e Start time: 2024-02-14 14:15:35.700 - 0500 End time: 2024-02-14 14:17:29.572 -0500 Num samples: 29 (12%) Primary state: 25 samples Non-Frontmost App, Non-Suppressed, User mode, Effective Thread QoS Unspecified, Requested Thread QoS Unspecified, Override Thread QoS Unspecified User Activity: O samples Idle, 29 samples Active Power Source: 29 samples on Battery, 0 samples on AC 29 ??? (libsystem_pthread.dylib + 6672) [0x1f8b0ba10] 29 ??? (libsystem_pthread.dylib + 9428) [0x1f8b0c4d4] 28 ??? (appleh13camerad + 199664) [0x104d90bf0] 28 ??? (CoreFoundation + 209244) [0x18ea0515c] 28 ??? (CoreFoundation + 209912) [0x18ea053f8] 24 ??? (CoreFoundation + 212384) [0x18ea05da0] 23 ??? (CoreFoundation + 214888) [0x18ea06768] 23 ??? (CoreFoundation + 220384) [0x18ea07ce0] 23 ??? (CoreFoundation + 220580) [0x18ea07da4] 22 ??? (10Kit + 48792) [0x197438e98] 18 ??? (appleh13camerad + 198828) [0x104d908ac] 17 ??? (appleh13camerad + 152568) [0x104d853f8] 17 ??? (appleh13camerad + 150332) [0x104d84b3c] 17 ??? (appleh13camerad + 89100) [0x104d75c0c] 11 ??? (appleh13camerad + 90160) [0x104d76030] 6 ??? (appleh13camerad + 114140) [0x104d7bddc] 3 ??? (appleh13camerad + 125900) [0x104d7ebcc] 2 ??? (appleh13camerad + 125504) [0x104d7ea40] 5 ??? (appleh13camerad + 126164) [0x104d7ecd4] ??? (appleh13camerad + 113792) [0x104d7bc80] 1 ??? (appleh13camerad + 126192) [0x104d7ecf0] ??? (appleh13camerad + 125900) [0x104d7ebcc] ??? (appleh13camerad + 125520) [0x104d7ea50] ??? (appleh13camerad + 125508) [0x104d7ea44] 3 ??? (appleh13camerad + 125504) [0x104d7ea40] ??? (appleh13camerad + 92848) [0x104d76ab0] 2 ??? (appleh13camerad + 131932) [0x104d8035c] 1 ??? (appleh13camerad + 131960) [0x104d80378] ??? (appleh13camerad + 99236) [0x104d783a4] ??? (appleh13camerad + 92648) [0x104d769e8] 1 ??? (appleh13camerad + 129768) (QuartzCore + 519284) [0x19005cc74] 4 ??? (QuartzCore + 486688) [0x190054d20] 3 ??? (QuartzCore + 487556) [0x190055084] 3 ??? (QuartzCore + 488956) [0x1900555fc] 3 ??? (10MobileFramebuffer + 11728) [0x1bf5d8ddO] 3 ??? (10Kit + 7056) [0x19742eb90] 3 ??? (10Kit + 6508) [0x1974296c] 3 ??? (libsystem_kernel.dylib + 4472) [0x1d6169178] 3 ??? (QuartzCore + 487292) [0x190054f7c] 1 ??? (10MobileFramebuffer + 11728) [0x1bf5d8dd0] 1 ??? (10Kit + 7056) [0x19742eb90] 1 ??? (10Kit + 6508) [0x19742e96c] 1 ??? (libsystem_kernel.dylib + 4472) [0x1d6169178] 1 4 ??? (QuartzCore + 524852) [0x19005e234] 2 ??? (QuartzCore + 603072) [0x1900713c0] 1 ??? (10MobileFramebuffer + 7660) [0x1bf5d7dec] 1 ??? (IOMobileFramebuffer + 7920) [0x1bf5d7ef0] ??? (IOMobileFramebuffer + 7596) [0x1bf5d7dac] 1 ??? (IOKit + 5692) [0x19742e63c] 1 ??? (IOKit + 5880) [0x19742e6f8] 1 ??? (IOKit + 6508) [0x19742e96c] 1 ??? (libsystem_kernel.dylib + 4472) [0x1d6169178] 1 1 ??? (QuartzCore + 600724) [0x190070a94] 1 ??? (QuartzCore + 605164) [0x190071bec] 1 ??? (Metal + 310724) [0x18e606dc4] 1 ??? (libdispatch.dylib + 80616) [0x1969e1ae8] 1 ??? (libdispatch.dylib + 17152) [0x1969d2300] 1 ??? (Metal + 30856) [0x18e5c2888] 1 ??? (Metal + 31384) [0x18e5c2a98] 1 ??? (10GPU + 19312) [0x20515db70] 1 ??? (10GPU + 19704) [0x20515dcf8] 1 ??? (10Kit + 208296) [0x19745fda8] 1 ‹Kernel mode&gt; 1 ??? (QuartzCore + 594540) [0x19006f26c] 1 ??? (IOMobileFramebuffer + 11016) [0x1bf5d8b08] 1 ??? (10Kit + 7056) [0x19742eb90] 1 ??? (10Kit + 6508) [0x19742e96c] ??? (libsystem_kernel.dylib + 4472) [0x1d6169178] 1 1 ??? (QuartzCore + 523680) [0x19005dda0] 1 ??? (QuartzCore + 302748) [0x190027e9c] 1 ??? (QuartzCore + 303720) [0x190028268] 1 ??? (QuartzCore + 807976) [0x1900a3428] 1 ??? (QuartzCore + 26328) [0x18ffe46d8] 1 ??? (QuartzCore + 24376) [0x18ffe3f38] 1 ??? (QuartzCore + 26328) [0x18ffe46d8] ??? (QuartzCore + 26328) [0x18ffe46d8] ??? (QuartzCore + 24376) [0x18ffe3f38] ??? (QuartzCore + 26328) [0x18ffe46d8] 1 ??? (QuartzCore
Posted
by
Post not yet marked as solved
1 Replies
256 Views
We have a huge project. Until today we didn't use an .app but now we must in order to use Endpoint security and other stuff. Until today our binary sat in /opt/XYZ/binary.bin Now because of the .app, looks like it will have to be /opt/XYZ/Cool.app/Content/MacOs/binary.bin This change really breaks our code and will cause a massive code change. If I extract the binary from the app and place it in /opt/XYZ/binary.bin and run it, the process is killed. Is there a way to extract it from the app and run it from /opt/XYZ ? any tool, command, resource, etc' will be great.
Posted
by
Post not yet marked as solved
0 Replies
133 Views
What methods can be used to confirm that a user is the same user when he logs in the app application under two different developer accounts?
Posted
by
Post not yet marked as solved
0 Replies
131 Views
Hello, I'm creating an application with React Native. I am currently building and testing an app for release. Although it can be installed on the device, multiple errors like the one shown in the image will be displayed after startup. If anyone knows of these improvement methods, would you be able to enjoy them? Thank you. ----Execution environment---- MacBook M1 MAX 16inti React Native:”0.73.4” xcode : version 15.3
Posted
by
Post not yet marked as solved
1 Replies
403 Views
Older internet entries say there were free accounts we could use. I'm trying to create my .ipa apple installation file without using a payable developer account. In my case, I wisht to create the file for my own personal use. Is there a way to get a free developer account? I have tried by going to https://developer.apple.com/ and for individuals, payment is required. It's been many days since I sent questions to apple and no reply has been received. What can I do?
Posted
by
Post not yet marked as solved
1 Replies
251 Views
What would be your recommendations for an online course for learning to use XCODE and planning a swift app ? After a law degree I've spent 40 years learning systems engineering. Mostly networking, some programming so I have the basics, but there are some absolute mysteries. My first app was a basic program for the //e a contact database we could save on tape before diks were avai.able. Now I'm stymied with some cryptic messages about not being able to create schema and I simple downloaded the new code and told it to create a new ios app.
Posted
by
Post not yet marked as solved
0 Replies
157 Views
Want to know if is there a way to uniquely identify a device across multiple apps, as my SDK is shared with multiple apps and I want to make sure to avoid duplicate efforts if possible.
Posted
by
Post not yet marked as solved
0 Replies
283 Views
Uploading video files as App Previews get stuck in "The video file has uploaded and is processing". I have had two video files in this state for 24 hours. I have uploaded JPEGS and they upload and process instantly. I have confirmed that video file is the correct resolution, size, etc and plays on my machine. Anyone know how to overcome this? I have created a report here: https://feedbackassistant.apple.com/feedback/13694393
Posted
by