Dive into the vast array of tools and services available to developers.

Post

Replies

Boosts

Views

Activity

Enterprise account enrolment process stuck and no response from apple
Hello, my enrolment process (ID 6DMR9J4AU5) for apple Enterprise Developer registration connected to my apple id status is still “Pending” since uploading of all requested documents last week. But in confirmation email received last week from apple was stated that apply will response in two working days which has passed allready. Please update. P.S. live support doesn’t responsible, so I try to write about this issue here.
0
0
260
Nov ’23
Test iOS On-Demand Resources on M1 mac(Designed for iPad) fail
I create a new project just for testing on-demand resources and it works properly on real devices and iOS simulators but no luck on Mac(Designed for iPad). The project is very simple like bellow: NSBundleResourceRequest* request = [[NSBundleResourceRequest alloc] initWithTags:[NSSet setWithArray:@[@"A"]]]; [request beginAccessingResourcesWithCompletionHandler:^(NSError* error){ if (error != nil) { NSLog(@"%@", error.description); } }]; The error I encounter on my M1 Mac is consistently: Error Domain=NSCocoaErrorDomain Code=-1 "(null)". However, I'm unsure about what steps to take to resolve this issue. Just wondering can we test on-demand resources on apple silicon macs directly by 'Designed for iPad', or we can only test on real devices and simulators? I have read many documentations and websites but it seems like no one addresses about this.
0
0
410
Dec ’23
NEFilterDataProvider not receiving all traffic
I have implemented the NEFilterDataProvider with the handleNewFlow method and it seems to be working for the most part, but there are some requests (which I can see with Proxyman) that aren't going through the filter. Is there a way to fix this? Would a slow response to one flow cause another flow to bypass the filter? Can multiple flows call handleNewFlow simultaneously or is it all run on a single thread? Thanks
3
0
409
Dec ’23
Apple TV app for Windows 10
Hi, I am using the Apple TV application on a computer with Windows 10. For some time now I have had problems with playing video material. It often happens that there is a black screen in the background, there is sound playing and at some point the entire application freezes. only restarting the computer will help. I was looking for a solution on the Internet and found that many people had a similar problem. The second problem is that the video cannot be played at all, and video clips do not work in the Apple Music application. Only resetting the application helps. The attached video shows a problem with displaying subtitles embedded in the movie "An Apple Original", this problem does not occur in trailers, etc. This can be seen at the end of the trailer where the inscription "December 15 ", he just doesn't blink. I would like to point out that this effect does not occur when I watch it through the Chrome browser. I use the application because it is possible to download a movie/series to disk, which allows me to eliminate any overdubs and jams by streaming directly. From what you can see, both applications are in the beta, preview phase. Have any of you had similar problems? Where can I report it so that developers (I don't know if it's Apple or Microsoft) eliminate it? So when will both applications be released in their final version? https://photos.app.goo.gl/1zuyLS5KjGhSRHM87 Thank you in advance for your answer and help. Regards.
1
0
970
Dec ’23
Beginner Problem: Static Linking
Hi, I just started practicing Static Linking, and I tried to link a third party library into my code, but it kept bugging error: "The header file not found", so I believe there're some steps missing from my code, wish someone can help! Here is the situation: I use OpenGL as the target library, it contains two directories: "Include" directory which holds header files and "lib-arm64"directory which holds "libglfw3.a" and "libglfw.3.dylib". I believe .dylib is related to dynamic linking, so I am not gonna touch that and .a file is the source code I need. Therefore: In Build Phase -> Linking Binary with Library, I attach "libglfw3.a". In Build Setting -> Search Path, I include the address of header directory "Include" in "Header Search Path" and "lib-arm64" in "Library Search Path". "#include <GLFW/glfw3.h>" is the command I copied from OpenGL website template and used in my code. The error is: " 'GLFW/glfw3.h' file not found " If anyone has any advice, feel free to share it, I really appreciate! Another question I have, non-relevant to linking, but to debugging.
3
0
1.1k
Dec ’23
Apple Developer Enterprise Program for version control
I recently joined a new company as an iOS app developer. Here, they conduct PROD testing using an Apple Developer Enterprise Program account before uploading apps to the App Store. When I asked why, they said it's for version management. This process were handled by the previous employees, but since they have all left the company, nobody really knows the the exact reason now. In my opinion, we could just create a branch for PROD version in the remote Git, or create a local branch and, if there are no issues with PROD, merge it into the master branch in the remote. Is my thinking off? As far as I know, the Enterprise Plan isn't made for this purpose; it's supposed to be for internal apps.
0
0
407
Dec ’23
xcode 15 dyld 报错
xcode :Version 15.0.1 (15A507) MACOS:13.6.1 (22G313) thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0) frame #0: 0x0000000000000000 frame #1: 0x000000010482ec60 FUSTAKitOUTLINED_FUNCTION_3 + 580 frame #2: 0x0000000104430810 dyldImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 424 frame #3: 0x0000000104430bd8 dyldImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 52 frame #4: 0x000000010442b600 dyldImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 536 frame #5: 0x000000010442b56c dyldImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 388 frame #6: 0x0000000104429878 dyldImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 184 frame #7: 0x0000000104429940 dyldImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 92 frame #8: 0x000000010441a6d8 dylddyld::initializeMainExecutable() + 216 frame #9: 0x000000010441f928 dylddyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 5216 frame #10: 0x0000000104419208 dylddyldbootstrap::start(dyld3::MachOLoaded const*, int, char const**, dyld3::MachOLoaded const*, unsigned long*) + 396 frame #11: 0x0000000104419038 dyld`_dyld_start + 56 when I run a Test app(Just create with xcode Version 15.0.1 (15A507),without any extra code) depency FUSTAKit.framework packed by xcode Version 15.0.1 (15A507), i find this error。 but used xcode 14.2 pack FUSTA Kit.framework , everything is normal 。
2
0
748
Dec ’23
DocC: Is it possible to truly compile the tutorial's code and get compiler errors/warnings
The idea is to make it easer to update documentation when API changes or when code is not correct. Is it possible to make the code file declared like this: @Code(name: "AppDelegate.swift", file: AppDelegate.swift) And the content of the AppDelegate.swift file is: import UIKit @main class AppDelegate: UIResponder, UIApplicationDelegate { func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? ) -> Bool { compiler error should be raised here return true } } After doing "Product > Build Documentation" the output gives the following documentation and there is not warning or errors during the build: Thank you for your answers.
1
0
717
Dec ’23
Distribution of Unlisted apps via MDM
I'm encountering challenges deploying two unlisted applications via MDM to an iOS 17.2 device. The first app successfully installed after presenting a user prompt upon distribution <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CommandUUID</key> <string>InstallApplication</string> <key>Command</key> <dict> <key>RequestType</key> <string>InstallApplication</string> <key>iTunesStoreID</key> <integer>**********</integer> <key>InstallAsManaged</key> <true/> <key>ManagementFlags</key> <integer>5</integer> <key>ChangeManagementState</key> <string>Managed</string> </dict> </dict> </plist> Device Response for first app :- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CommandUUID</key> <string>InstallApplication</string> <key>Identifier</key> <string>*********************</string> <key>State</key> <string>Prompting</string> <key>Status</key> <string>Acknowledged</string> <key>UDID</key> <string>XXXXXXXXXXXX</string> </dict> </plist> However, deploying the second app resulted in an error message from the device. <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CommandUUID</key> <string>InstallApplication</string> <key>Command</key> <dict> <key>RequestType</key> <string>InstallApplication</string> <key>iTunesStoreID</key> <integer>**********</integer> <key>InstallAsManaged</key> <true/> <key>ManagementFlags</key> <integer>5</integer> <key>ChangeManagementState</key> <string>Managed</string> </dict> </dict> </plist> Device Response for second app :- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CommandUUID</key> <string>InstallApplication</string> <key>ErrorChain</key> <array> <dict> <key>ErrorCode</key> <integer>9610</integer> <key>ErrorDomain</key> <string>ASDServerErrorDomain</string> <key>LocalizedDescription</key> <string>License not found.</string> </dict> </array> <key>RejectionReason</key> <string>NotSupported</string> <key>Status</key> <string>Error</string> <key>UDID</key> <string>XXXXXXXXXXX</string> </dict> </plist> Can you confirm the iOS Devices support deployment of Unlisted apps without VPP app assignment ?
0
0
748
Dec ’23
build swift and oc dylib link issues
swift_getFunctionReplacement, referenced from: _swift_getFunctionReplacement50 in libswiftCompatibilityDynamicReplacements.a[x86_64][6](DynamicReplaceable.cpp.o) _swift_getFunctionReplacement50 in libswiftCompatibilityDynamicReplacements.a[x86_64][6](DynamicReplaceable.cpp.o) _swift_getOrigOfReplaceable, referenced from: _swift_getOrigOfReplaceable50 in libswiftCompatibilityDynamicReplacements.a[x86_64][6](DynamicReplaceable.cpp.o) _swift_getOrigOfReplaceable50 in libswiftCompatibilityDynamicReplacements.a[x86_64][6](DynamicReplaceable.cpp.o) clang: error: linker command failed with exit code 1 (use -v to see invocation)
2
0
398
Dec ’23
Verification Pending for Organization
Hi Team, We are waiting for my account to get verified as organization, I have been waiting since 2 months, Please help me with my enrollment, sharing the enrollment number ID:WV8HMK6D44 I have already submitted the DUNS number and I got the email of verification pending for signing authority and I have shared the contact details as well but no verification have been received Kindly help us in resolving the issue.
1
0
946
Dec ’23
I can't receive any information from the device.
If you try to update information on an enroled Apple device, the request command is successful, but you cannot receive any information from the device. RequestType = "DeviceInformation" RequestType = "InstalledApplicationList" mdm_task_uuids:['bb674e0a-e7ce-4df9-ad7a-ebefb67d852e', '5d3e095d-7be4-4f6e-b0b7-2d57208be4b5'] udid:00008110-0002309A0A6A401E The device is operating normally. Policy profiles are also installed well. Which part should I check more? Please reply. Thank you.
0
0
291
Dec ’23
The request for command type 'InstalledApplicationList' and 'DeviceInformation' is successful, but there is no response from the device.
The request for command type 'InstalledApplicationList' and 'DeviceInformation' is successful, but there is no response from the device. device udid:00008110-0002309A0A6A401E mdm_task_uuids:['d3faa00d-5be9-48d7-a3ef-4ae57fd9e7ff', 'e396c93e-7c1c-455f-a1ad-33df4836626a'] Currently, the device is enrolled with our MDM server normally, and the installation of the policy profile also succeeds successfully. Which part should check more? Please reply. Thank you
0
0
449
Dec ’23
Building iOS/Mac Projects With Open Source LLVM
I'd like to use the Clang AST tools for iOS/Mac projects. I want to write C++ programs that link to the Clang libraries. I will use that to analyze the AST from my IOS/Mac projects. I understand you can generate an AST dump from Apple's Clang but I instead want the full capabilities of the Clang libraries, not just the AST output. I believe I need to build compilation databases in order for many Clang libraries to be used. For instance, l'd like to use the CommonOptionsParser which requires arguments for the compilation database. Building these compilation databases is where I'm running to challenges. Its my understanding I will need to use the same LLVM version I'm using for the tooling (open source 17.x) to also build my compilation database. I already tried to use Apple's build-in LLVM to build the database but that led to build arguments such as -index-store-path being included in the JSON, which I don't think Open source LLVM can understand (failing to build). I instead attempted to use the Open Source LLVM installation with my iOS/Mac project. I got it kind of working but am not quite there. My question is whether this approach is worth pursuing? I'm dealing a lot of build errors doing this, particularly in nested swift packages that build fine with Apple Clang. Before I try to fix all these errors, I just wanted to ask whether using Open Source LLVM to build compilation databases for iOS/Mac projects is the right high-level approach for my goals mentioned initially? Is anyone doing this for complicated projects? Another option I thought of is maybe I can "clean up" the compilation database that is generated from Apple's Clang to remove the -index-store-path arguments. Then I could use that as an input to Open Source Clang.
2
0
1.1k
Dec ’23