I have a strange issue, and can find very little a...
# multiplatform
j
I have a strange issue, and can find very little about it online, so hoping can get some help!
Copy code
Developer/CoreSimulator/Devices/95DFA1E3-2B39-4D16-9E17-7FE554C6FB2E/data/Containers/Bundle/Application/6AD2E351-AFA1-47D2-8AE1-0523431C7429/xyz.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher' (file does not start with MH_MAGIC[_64], file does not start with MH_MAGIC[_64], file does not start with MH_MAGIC[_64], fat file, but missing compatible architecture (have 'i386,x86_64,arm64', need 'x86_64')), '/Users/jack/Library/Developer/CoreSimulator/Devices/95DFA1E3-2B39-4D16-9E17-7FE554C6FB2E/data/Containers/Bundle/Application/6AD2E351-AFA1-47D2-8AE1-0523431C7429/xyz.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher' (file does not start with MH_MAGIC[_64], file does not start with MH_MAGIC[_64], file does not start with MH_MAGIC[_64], fat file, but missing compatible architecture (have 'i386,x86_64,arm64', need 'x86_64')), '/Users/jack/Library/Developer/CoreSimulator/Devices/95DFA1E3-2B39-4D16-9E17-7FE554C6FB2E/data/Containers/Bundle/Application/6AD2E351-AFA1-47D2-8AE1-0523431C7429/xyz.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher' (file does not start with MH_MAGIC[_64], file does not start with MH_MAGIC[_64], file does not start with MH_MAGIC[_64], fat file, but missing compatible architecture (have 'i386,x86_64,arm64', need 'x86_64')), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher' (no such file)
Library not loaded: @rpath/GTMSessionFetcher.framework/GTMSessionFetcher
  Referenced from: /Users/jack/Library/Developer/CoreSimulator/Devices/95DFA1E3-2B39-4D16-9E17-7FE554C6FB2E/data/Containers/Bundle/Application/6AD2E351-AFA1-47D2-8AE1-0523431C7429/xyz.app/Skate
  Reason: tried: '/Users/jack/Library/Developer/Xcode/DerivedData/skatebounty-dmbrxoaugahuqcebqykfszilrwqm/Build/Products/Debug-iphonesimulator/GTMSessionFetcher.framework/GTMSessionFetcher' (no such file), '/Users/jack/Library/Developer/CoreSimulator/Devices/95DFA1E3-2B39-4D16-9E17-7FE554C6FB2E/data/Containers/Bundle/Application/6AD2E351-AFA1-47D2-8AE1-0523431C7429/CYX.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher' (file does not start with MH_MAGIC[_64], file does not start with MH_MAGIC[_64], file does not start with MH_MAGIC[_64], fat file, but missing compatible architecture (have 'i386,x86_64,arm64', need 'x86_64')), '/Users/jack/Library/Developer/CoreSimulator/Devices/95DFA1E3-2B39-4D16-9E17-7FE554C6FB2E/data/Containers/
(lldb)
Here is the error I am getting; file does not start with MH_MAGIC. I am using the Firebase frameworks manually (downloaded), FirebaseStorage/Auth/Store. If I use cocoapods it works, and actually, if I change GTMSessionFetcher + FirebaseStorage to use the one that is built with cocoapods, but use all the other downloaded ones it works. If I create an empty Xcode project with the same frameworks and just start the app and initialise it works. The closest thing to the issue I found anywhere online was -> https://stackoverflow.com/questions/69288614/ios-realm-file-does-not-start-with-mh-magic-64-fat-file-but-missing-compati Would really appreciate any help, or even just somewhere to start; as I have exhausted my options so far. It feels like something in the generated xcodeproj, isn't quite right and it is causing this error based on the fact an empty Xcode project works Edit: I am using AppCode to create a multiplatform app