I can't build the project for ios with the linked realm library. I am getting this error:
** BUILD FAILED **
The following build commands failed:
CompileC /Users/florian/project/BITNATION-Pangea-mobile/ios/build/Build/Intermediates.noindex/RealmJS.build/Debug-iphonesimulator/GCDWebServers.build/Objects-normal/x86_64/GCDWebServer.o /Users/florian/project/BITNATION-Pangea-mobile/node_modules/realm/vendor/GCDWebServer/GCDWebServer/Core/GCDWebServer.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC /Users/florian/project/BITNATION-Pangea-mobile/ios/build/Build/Intermediates.noindex/RealmJS.build/Debug-iphonesimulator/GCDWebServers.build/Objects-normal/x86_64/GCDWebServerConnection.o /Users/florian/project/BITNATION-Pangea-mobile/node_modules/realm/vendor/GCDWebServer/GCDWebServer/Core/GCDWebServerConnection.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC /Users/florian/project/BITNATION-Pangea-mobile/ios/build/Build/Intermediates.noindex/RealmJS.build/Debug-iphonesimulator/GCDWebServers.build/Objects-normal/x86_64/GCDWebServerDataRequest.o /Users/florian/project/BITNATION-Pangea-mobile/node_modules/realm/vendor/GCDWebServer/GCDWebServer/Requests/GCDWebServerDataRequest.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC /Users/florian/project/BITNATION-Pangea-mobile/ios/build/Build/Intermediates.noindex/RealmJS.build/Debug-iphonesimulator/GCDWebServers.build/Objects-normal/x86_64/GCDWebServerDataResponse.o /Users/florian/project/BITNATION-Pangea-mobile/node_modules/realm/vendor/GCDWebServer/GCDWebServer/Responses/GCDWebServerDataResponse.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(4 failures)
Installing build/Build/Products/Debug-iphonesimulator/Pangea.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/Pangea.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
on my branch (panthalassa/db).
Acceptance criteria
[x] I should be able to run the project with yarn run ios
The problem was that i used a old version of clang (4.0.1). If someone has the same problem, don't forget to update your clang version to 9.0.0 (or higher).
Issue
I can't build the project for ios with the linked realm library. I am getting this error:
on my branch (
panthalassa/db
).Acceptance criteria
yarn run ios