Closed spiderguy84 closed 2 months ago
I seem to be having a similar issue with the macOS SDK today (along with about a hundred Double-quoted include "ParseHeader" in framework header, expected angle-bracketed instead
warnings)
My MacOS command line app builds fine when I do a debug build and run. When I try to Archive a Release version of the utility, these errors then occur with Xcode 15.3 running on an Intel based Mac.
There does not seem to be anything out of the ordinary with regard to my Build Settings. Architectures set to ARCHS_STANDARD. Nothing specified for Excluded Architectures.
My logs are as follows.
ld: warning: ignoring file '/Users/John/Documents/MyProject/Parse/Bolts.framework/Versions/A/Bolts': found architecture 'x86_64', required architecture 'arm64' ld: warning: ignoring file '/Users/John/Documents/MyProjectr/Parse/Parse.framework/Versions/A/Parse': found architecture 'x86_64', required architecture 'arm64' Undefined symbols for architecture arm64: "_OBJCCLASS$_PFObject", referenced from: _OBJCCLASS$_MyClass in MyClass.o _OBJCCLASS$_MyClass2 in MyClass2.o in MyClass3.o "_OBJCCLASS$_PFQuery", referenced from: in SomeClass.o "_OBJCCLASS$_Parse", referenced from: in SomeClass.o "_OBJCCLASS$_ParseClientConfiguration", referenced from: in SomeClass.o "_OBJCMETACLASS$_PFObject", referenced from: _OBJCMETACLASS$_SomeClass in SomeClass.o _OBJCMETACLASS$_SomeClass in SomeClass.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
@spiderguy84 are you still having this issue. I removed the prebuilt compiled framework from my project, re-added the framework via Swift Package Manager, and these issues went away for me.
@JohnCaccavale If the issue is resolved for you, then I'll go ahead and close it. In case @spiderguy84 reports back that the issue still exists, we can re-open.
New Issue Checklist
Issue Description