Hi,
I wanted to compile a project (For the compilation I used gcc-13 from home-brew) and I got the following error from the linker:
0 0x100e0f648 __assert_rtn + 72
1 0x100d43fac ld::AtomPlacement::findAtom(unsigned char, unsigned long long, ld::AtomPlacement::AtomLoc const*&, long long&) const + 1204
2 0x100d59924 ld::InputFiles::SliceParser::parseObjectFile(mach_o::Header const*) const + 15164
3 0x100d66e30 ld::InputFiles::parseAllFiles(void (ld::AtomFile const*) block_pointer)::$_7::operator()(unsigned long, ld::FileInfo const&) const + 420
4 0x1a95f0440 _dispatch_client_callout2 + 20
5 0x1a9603f1c _dispatch_apply_invoke + 224
6 0x1a95f0400 _dispatch_client_callout + 20
7 0x1a9601fb8 _dispatch_root_queue_drain + 684
8 0x1a96026c0 _dispatch_worker_thread2 + 164
9 0x1a979c038 _pthread_wqthread + 228
ld: Assertion failed: (resultIndex < sectData.atoms.size()), function findAtom, file Relocations.cpp, line 1336.
collect2: error: ld returned 1 exit status
I am using a MacBook Pro M2 (Ventura 13.5.2 (22G91)) and the CommandLineTools version 15.0. I have read through some earlier posts about linker issues, which were solved by downgrading Xcode. After downgrading to 14.3.0 I was able to compile the code. Did anyone run into the same Problem? If so, is there a better solution for this?
Best regards
Post not yet marked as solved
Hi! Help me, please.
I've installed Xcode 15 on MacOS Ventura 13.5.1 and have an issue, that I couldn't solve in a week: Xcode 15 doesn't recognize iPhone 13 Pro Max with iOS 17 - It doesn't show it at all.
What I've found now:
Xcode 14.3.1 recognizes the same iphone.
Xcode 15 beta has the same issue.
Xcode 15 recognizes other devices with 16.4 (iPhone 13 and iPad 8 Gen).
Updated the iphone to 17.0.1, same thing.
Tried Xcode reinstallation, turning on/off developer mode, unpairing, connecting with other USB cables.
Xcode: Version 15.0 (15A240d)
iPhone: iPhone 13 Pro Max with iOS 17.0.1
MacOS: Ventura 13.5.1 (22G90)
Xcode 14.3.1:
Xcode 15 at the same time:
Post not yet marked as solved
I'm a newbie to deploying flutter apps to the iOS app store, so bare with me.
Below is a screenshot of Xcode, and it says that it can't find any "iOS Development provisioning profiles." I don't understand why I need one.
The strange thing is that I created a Distribution Profile, so I don't know why that's not showing up here.
When I run the build command from the flutter CLI this is what I get:
I find this all very confusing and frustrating. If anyone could help that would be great. Also if anyone needs more info about my setup just ask. I'm not sure what info is helpful and what isn't.
Post not yet marked as solved
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.
Post not yet marked as solved
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.
Post not yet marked as solved
I updated Xcode to 15 and received an error in the Firestore settings file that "An attribute list cannot appear here" I proceeded to delete the sdk and try to reinstall it as to update the sdk files. When trying to reinstall them it asked for my username or password, all over Firebases website I found no documentation about this, could someone please help.
Post not yet marked as solved
Hello! I have my own application designed for home use (three iPhone devices). Can I install and use them without buying a developer account (99$)? The application will not be published in the AppStore and distributed in other ways - exclusively personal and use.
Post not yet marked as solved
I cannot get an assembly language file for architecture aarch64 (iOS) to assemble. The error message is Command CompileC failed with a non-zero exit code. I have been able to compile C, C++ and Swift without problems.
The assembly language file has type "Assembly".
When I change the file type to "Assembly-LLVM", Xcode says that there is no rule. When I change the file type to "Assembly-NASM" Xcode says that the script must have at least one output.
Do I need to load something additional for Xcode to assemble files?
Thanks!
Gene
Post not yet marked as solved
Hi All,
We levarage the API to build our apps and upload to App Store Connect.
Is there a way we can proactively check if the agreements are all set through the API or any other automatic way?
That way we validate this before starting the build on our end and save a good amount of time (as we need to ask our clients to review and accept agreements and it take a lot of time).
Post not yet marked as solved
After installing beta 8 I'm suddenly getting the following:
ld: warning: building for 'macCatalyst', but linking in dylib (/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa.tbd) built for 'macOS'
Any help gratefully received.
Post not yet marked as solved
I find odd that the App Store Connect still requires 5.5" iPhone screenshots of the iPhone 8 Plus, given that this specific phone is no longer supported by the latest release: iOS 17.
I am well aware that the iPhone SE still has a similar screen ratio, and that it is still being supported by iOS 17, but it doesn't have the same pixel requirements (1242 x 2208), which means that in order for my app to be even reviewed (which is an iOS 17+ exclusive), I'm gonna have to create images that will then be upscaled to the right dimensions.
Am I missing something here, or is it Apple who missed this detail?
Post not yet marked as solved
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.)
Anyone else seeing this? See attached screenshot.
Xcode 15 RC released today:
Post not yet marked as solved
The Accessibility Inspector tool stopped working in the simulator after the release of Xcode 14.3.1 (14E300b).
Post not yet marked as solved
I want to pin an item (an app or a .webloc file) in the MacOS dock. Has apple provided an API for this?
I have seen in other forums that it could be done using the following command.
defaults write com.apple.dock persistent-others -array-add '<dict><key>tile-data</key><dict><key>file-data</key><dict><key>_CFURLString</key><string>" **file/location** "</string><key>_CFURLStringType</key><integer>0</integer></dict></dict></dict>'
This command adds the item in the com.apple.dock.plist file, which stores all the items present in the dock. This file is present in ~/Library/Preferences/.
But the dock needs to be killed once first for the item to show as pinned in it after running the command . Killing the dock can have undesirable effects, for example it maximises the minimised apps and files. Is there any way to pin the item without killing the dock?
Post not yet marked as solved
hello,
i am trying to build an app from a git repo but when I use the flutter run --flavor Prod --no-build -v command i get an error :
[ +2 ms] Error (Xcode): [ +14 ms] Target aot_assembly_release failed: Exception: release/profile builds are only supported for physical devices. attempted to build for simulator.
[ +4 ms] Could not build the application for the simulator.
[ ] Error launching application on iPhone 14.
does someone know how to deal with this error ?
thank you
Post not yet marked as solved
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!
Post not yet marked as solved
Greetings all, does anyone have up to date information on how to create and pay for a developer account from Russia ?
Hi, I'm really hoping someone can help me.
After updating my iPhone 11 to iOS 16 and tried to launch an app from xCode on it, I noticed that I didn't have dev mode enabled. When I went to Settings > Privacy & Security to toggle the Developer Mode on, it wasn't there. There is no Developer Mode option in my settings, the only option and the end of Privacy & Security is Lockdown Mode.
I tried so many troubleshooting techniques and spent a lot of time looking for solutions. I tried powering on and off while connected to my macbook with xcode running and again without xcode running. Made sure my device has the latest update (iOS 16.0.2) and my device has trusted the connection to the Macbook as well. I also had the same problem on my girlfriends brand new iPhone 13, I was really hoping it was just my device but no, her device doesn't have the Dev Mode option either. Out of curiosity I asked my friends at work if they had the option but they did not. I even went as far as going into an Apple store and checking the devices on display and they didn't have the option either. And when I asked the staff their, they didn't know why the option wasn't showing up on mine or even their own personal devices.
The only source that I have found with the same issue as me is this youtube link (https://www.youtube.com/watch?v=5AEusqQV794), where it mentions that this is an issue with iOS 16 public beta users and not developer beta user and the only way to solve this is by sidloading the app which I am not gonna do. Please note that I am not running beta version on my device.
I can't help think that there's something obvious that I'm missing or need to do but just can't find it.
Any help or advice will by really appreciated :)
Thank you
Post not yet marked as solved
I don't know if the page was shut down, or it's temporary unavailable
https://search.developer.apple.com/appsearch-validation-tool