Developer Tools

RSS for tag

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

Developer Tools Documentation

Posts under Developer Tools tag

333 Posts
Sort by:
Post not yet marked as solved
2 Replies
1.4k Views
When I open the Account tap I have to agree to Apple Developer Agreement, when I submit it it says "You’ve already agreed to the Apple Developer Agreement." and when I want to go to the account it wants me to agree with the Apple Developer Agreement again and I'm stuck in this loop. Can anyone help me what to do with this?
Posted
by
Post not yet marked as solved
16 Replies
19k Views
Macbook Air M1, get the error in Xcode 12.4: Could not download and install IOS 12.0 Simulator. Failed to download package from ADC. There are no valid accounts registered with Xcode that have the ability to access this resource. Contact Apple Developer Program Support to resolve account access issues. I have never had this error on the previous Xcode and Macbook on intel chip. Please can you tell me how to solve it.
Posted
by
Post not yet marked as solved
4 Replies
1.2k Views
When running the following AppleScript (other portions were removed for clarity)… set newDate to "1/1/1953 00:00 AM" do shell script "SetFile -d " & quoted form of newDate & " " & quoted form of filePath I can change  the created date to any year from 1970 to 2079 but attempting any year outside that range returns unpredictable results.  For instance, using 1/1/1953, the created date became February 6, 2096. But if I enter 1/1/2096 the created date becomes September 3, 2061. Any year between 1970 and 2079 yields the correct result. So, what’s the workaround? I need to be able set the year to any date from 1920 to the present and SetFile apparently can’t handle that range. 
Posted
by
Post not yet marked as solved
26 Replies
17k Views
Invalid Provisioning Profile. The provisioning profile included in the bundle ***.***.XX [Payload/Runner.app/PlugIns/OneSignalNotificationServiceExtension.appex] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal. With error code STATE_ERROR.VALIDATION_ERROR.90161 for id 81c3cef4-fefe-468d-910c-cf7a4b5377a8 Any help? I have tried to create new provisioning profile and identifiers but still get this error when uploading app to the App Store.
Posted
by
Post not yet marked as solved
1 Replies
672 Views
to whom this may concern, I am an apple developer, fully registered and subscribed, and currently dont have one released on the appstore but has one on the testflight, and 2 internal testers are using it, but the main question is, as the iphone is registered on my account, if i sell my iphone, can i still develop and release apps on the testflight or appstore? is the registration one time only? do i need to have an active iphone?
Posted
by
Post not yet marked as solved
2 Replies
2k Views
Xcode indexing will cause my Mac Mini (M1) to crash when indexing is active (ON). ===> Xcode Version 12.5.1 (12E507) To test the following, I created a smaller OSX desktop application, compared to my main OSX desktop application, which is significantly larger in scope, and size. That said, I enter the following code in the terminal to activate and deactivate Xcode Indexing: 1. Indexing is active (ON) when applied in the terminal : defaults write com.apple.dt.XCode IDEIndexDisable 0 2. Indexing is NOT active (OFF) when applied in the terminal : defaults write com.apple.dt.XCode IDEIndexDisable 1 The application causing the crash with Xcode Indexing turned (ON), creates a PList file for my main application to use, which is an array of dictionary tuples. This application for the moment, creates a baseline array of 4,000+ dictionary objects with eight (8) tuple objects per dictionary. I use the same design with different, and significantly less information to create other PList array of dictionary objects, such as creating a PList array of dictionary objects for one column of objects instead of my application’s eight tableView columns. The smaller PLlist array of dictionary objects for an identified tableView column contains numeric information, which my application analyses to provide statistical data, such as mean, median, mode, maximum, minimum, number of occurrences, histograms, charts, et al. The smaller PList column application does not crash when Xcode Indexing is active (ON). When Xcode Indexing is active (ON) for the larger PList application the following occurs: 1. Xcode quickly usurps all the RAM in my Mac Mini (M1 - 16 GB). 2. Activity Monitor shows “SourceKitService” climbs steadily to (20 GB) from (140 MB). 3. Activity Monitor shows “swift-frontend” climbs steadily to (80 GB) from (1 GB). 4. Activity Monitor shows “Physical Memory: 16 GB” 5. Activity Monitor shows “Memory Used: 14.01 GB” 6. Activity Monitor shows “Cached Files: 1.91 GB” 7. Activity Monitor shows “Swap Used: 29.49 GB” 8. Activity Monitor shows “App Memory: 3.69 GB” 9. Activity Monitor shows “Wired Memory: 1,012.5 MB” 10. Activity Monitor shows “Compressed: 8.53 GB” 11. Activity Monitor shows “Memory Pressure: Max” My Mac Mini (M1) does not hesitate to show the Force Quit Modal: “Your system has run out of application memory.” Xcode ===> (“Xcode set at 309.0 MB”) Finder ===> (“Finder set at 158.2 MB”) Boom, I must restart my computer. When Xcode Indexing is NOT active (OFF) the following occurs: 1. The Mac Mini (M1) does not crash. 2. My application will NOT allow me to connect to any viewController outlet in my application from any IB. 3. Attempting a connection from IB to the associated properly named “viewController” presents the following error message: ===> Could not insert new action connection: could not find any information for the class named “blah blah blah …” <=== This exercise to turn “ON” and turn “OFF” Xcode indexing for my situation is repeatable. Turning (OFF) Xcode indexing introduces the above "Could not" error message, and turning (ON) Xcode indexing prevents the error message from showing with my smaller indexed applications. So, for the moment, I can manually create an outlet in the “viewController” with copy and paste, “change” the new outlet name and function, then “connect” the IB item to the new viewController outlet, using “control-drag.” This “get-by-product” effort allows me to continue making connections without frustration. For me, and my Mac Xcode programming experience, when Xcode Indexing is “OFF,” all the other internet suggestions to fix the “Could not insert new action connection” failed miserably. Those suggestions obviously worked for the individual poster, but unfortunately not for me. When Xcode crashes with this error, my computer asks to send the issue to Apple, so I say “Yes.” This experience blindly took me more than two months to isolate my application issue, through trial and error, trying to follow the numerous suggestions on the internet to no avail. I turned OFF Xcode Indexing a few months ago to prevent the larger indexing application from crashing. My efforts to resolve the “Could not insert new action” message included: 1. Creating new view controllers. 2. Copying the original viewController code into the new viewController. 3. Clean and rebuild. 4. Delete derived folders. 5. Reviewing possible “Automatic and Manual” assistant editor issues. 5. Believing my suspect object copy methods from one IB to another IB, caused the issue, therefore causing me to rebuild an IB or two from scratch. The Xcode Index crashing issue, and the subsequent “Could not insert new action” issue happens to be annoying, but I am able to continue programming my application without Xcode indexing. My main concern and my current dilemma right now happens to be, what will become of my application, since I cannot index the application without Xcode indexing causing my Mac Mini (M1) to crash … ? Just curious … :] All suggestions, as always, are welcome. Best regards, jim_k
Posted
by
Post marked as solved
5 Replies
49k Views
Hi there, I run Flutter in VS Code, and have been having no issues until today. All of a sudden I cannot build to Android. I've been building to 3 different Android devices (1 emulator; 2 devices (one USB; one wireless)) since I got my MBP (came with Big Sur) a couple months ago. Today it can't find Java. Research says to check the Java icon in the System Preferences. But there is no Java icon in my System Preferences. The error is: The operation couldn’t be completed. Unable to locate a Java Runtime. Please visit http://www.java.com for information on installing Java. I also tried a different project via Android Studio, and it says the same thing. But I've BEEN building to Android, so I'm completely confused why today it all of a sudden can't find Java. When I type which java or which javac they both point to /usr/bin/java and /usr/bin/javac. But typing java -version or /usr/bin/java -version gives that same error. I went to Oracle, but they mention about costs. And this again makes me wonder... why am I even here?? Where did my Java go? I also don't surf the web or download/install stuff on my Mac. I only do Flutter development on the Mac. So do I just not think about how it disappeared, and go ahead and just install the JRE or JDK from Oracle? Or is there a way to tell the Mac to "please fix this"? Thanks for any insights. -Keith
Posted
by
Post not yet marked as solved
1 Replies
1.2k Views
TL;DR Can earlier versions of the Apple Developer App be available to download from developer.apple.com? I'm trying to install the Apple Developer App on a laptop running Catalina. The App Store says it can't be installed because the Developer App requires BigSur ("version 11.1 or later"). Yet my other laptop has an earlier version of this app installed on Catalina, which still works. (It does give me the same error when I act on its request to "upgrade to the latest version," but at least the installed version works). As developers we often need to work under older versions of macOS to support our software that still runs on older versions of macOS and iOS. It would be helpful to have this tool on those older macOS installs. Just as older versions of Xcode are available for download to registered developers, can these development tools be similarly available? (I should note that these laptops also have Big Sur installed on separate startup volumes, but I find I'm still spending more time in Catalina to support our existing iOS apps.) Thanks.
Posted
by
Post marked as solved
16 Replies
15k Views
I have been working for a while now. Never encountered this issue. After accepting the invite from the organization. The organizations does not appear at developer apple account. But can see the organization at app store connect. Yes i have checked the account permissions. I have the admin role and developer role etc is checked everything is correct. This is not just me happening with my colleague as well.
Posted
by
Post not yet marked as solved
18 Replies
5.5k Views
On the iOS Developer app on my Iphone 13, when I try to submit my id front and back pictures, it fails every time with no fruitful error. All it says is Unable to send information, your information couldn't be sent due to connection error. The internet connection is working absolutely fine I can assure. It seems impossible to go past this step! Why is apple so vaguely difficult!
Posted
by
Post marked as solved
13 Replies
4.7k Views
Again, none of this is really my choice: our project is multi-platform (specifically, at this time, Windows and macOS). As a result, the people who started 8 hours before I did picked CMake and vcpkg to handle build system generation and 3rd party dependencies. (TBF, I can't blame them for this, since this does work on a Mac, for at least a simple build.) I want to support Apple Silicon, obviously. I can build native on my M1 MBP. (I could, theoretically, use lipo and create a universal bundle, but that would mean manually signing a handful of executables, and then the whole thing, unless I missed a way to do this much more easily?) We're using CircleCI for CI, or maybe github actions in the future. I have not been able to figure out how to use CMake and vcpkg to do a cross build. Not even universal, just "build for arm64 on Intel mac". googling and searching these fora hasn't shown a lot that seems to work (mainly, I think, for the vcpkg side). Which is weird, because one of the things people use CMake for is to build Android and iOS apps, which generally does mean cross-compiling. Does anyone know how to do that? I'm at the point where I'm looking at CocoaPods again -- but that will not work with CMake, so we'll have two completely different build systems, one of which requires a Mac with GUI to add/remove sources/targets.
Posted
by
Post not yet marked as solved
2 Replies
3.2k Views
Dev's, after installing "Swiftlint" via "Homebrew" in the Terminal, I received the fallowing Error Message on my new MacBook Pro 2021 M1. I am a member of HWS+ and I fallowed the instruction in the learning video. Any Idea or recommendations to fix or install "SwiftLint correctly? Thanks "....UltimatePortfolio % swiftlint SourceKittenFramework/library_wrapper.swift:31: Fatal error: Loading sourcekitd.framework/Versions/A/sourcekitd failed zsh: trace trap swiftlint!"
Posted
by
Post not yet marked as solved
2 Replies
1.3k Views
I have created my first app with python using py2app and it build my app successfully but when I try to open it, it crash but when I open it's package and run it from this path: myapp.app/contents/macos/myapp it open console and run my app correctly without any error. I can't understand how to read this kind of mac errors. I will be happy if you can help me with that: Error Text
Posted
by
Post marked as solved
5 Replies
2k Views
On Xcode 13.3.1, 13.4.1, and 14.0b5 I am unable to download symbols for watchOS 8.7.1, which is preventing me from developing on my Apple Watch device. The error I'm getting is a "403: forbidden" on the resource, with the more detailed error message showing on the Devices window: Work Apple Watch via Work iPhone: Could not download and install Symbols for watchOS 8.7.1 (19U67). Failed to download package from ADC. There are no valid accounts registered with Xcode that have the ability to access this resource. Contact Apple Developer Program Support to resolve account access issues. I am signed into a paid Apple Developer account, so I'm not sure why my account is not considered "valid".
Posted
by
Post not yet marked as solved
3 Replies
2.4k Views
Failed to decode landmarksData.json from bundle because it appears to be invalid JSON. Full disclosure - Im extremely new to this and am playing around with the swift tutorials to see what it can do and see if I could build an app. Any advice is appreciated. I added a few locations to the SwiftUI Tutorial for Lanmarks and this is what happened. I have checked that JSON file and all commas are in the correct place everything is correct but im getting this error. Not sure what im doing incorrectly. Can anyone give me assistance on how to fix this. I can only preview favorite button, circle image and map. Everything else appears as Fatal Error in ModelData.
Posted
by
Post not yet marked as solved
1 Replies
628 Views
root# malloc_history /tmp/stack-logs.60147.10f5f7000.agent-tests.0EDkOu.index -callTree malloc_history[60193]: [fatal] unable to read input graph: The data couldn’t be read because it isn’t in the correct format. I ran my program as root# env MallocDebugReport=stderr MallocGuardEdges=1 MallocStackLogging=1 MallocStackLoggingNoCompact=1 MallocScribble=1 MallocErrorAbort=1 DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib ./test/agent-test (The program then segfaults, which looks to be due to a memory stomper.)
Posted
by