I have xcode version 12.0.1 and version 10.15.7 macOS on my macbook
I keep getting this error, no matter how many times I restart my laptop, xcode, pod deintegrate and pod install, and have cleaned derived data multiple times, to no avail
Please help!
This Issue is related to Parse end. I just got a description from Parse team to fix this and they recommended to use Xcode 11, They accepted that they have an issue with Xcode 12. they are working on it and will update once got this fixed. Reference Screenshot is attached.
Did you see if during your pod install the logs specifically said Bolts was installed?
It should be by default, but it could be missing due to some reason (that would be specified in the logs).
Just to be double-sure, also check if your Cocoapods is in the latest version (1.9.3 as I write this answer).
And last but not least, you can integrate it manually if you need to:
https://www.back4app.com/docs/ios/manual-integration
But again, Cocoapods usually would integrate that for you.
Related
I have an iOS app, which I recently updated to support Mac Catalyst. For the Mac version I added a new target, which I also added to my Podfile with the subset of the same libraries, including Realm.
The app builds well for "My Mac", but when I want to archive it (build for release), it fails with the following error:
"Umbrella header 'Realm.h' not found"
I am not familiar with the problem, what could go wrong?
I tried the usual Derived Data deleting, etc, but nothing seems to help. Is this some kind of problem with the CocoaPods, my config, or with Realm?
Due to CocoaPods not releasing 1.10.2 I have fixed the same issue in my project.
Remove Realm from your pod file
pod install in terminal to remove it fully
Install Swift Package Manager for (Xcode) - https://swiftpackageregistry.com/realm/realm-cocoa
This should allow you to get the project archived successfully.
I have a simple React Native app that I've been testing on Android and now want to test on iOS. It's using React Navigation.
I ran npm run ios but I'm getting the following error:
info In file included from
/Users/rbbit/reactnative/testproj1/ios/testproj1/main.m:10:
/Users/rbbit/reactnative/testproj1/ios/testproj1/AppDelegate.h:9:9: fatal error: 'UMReactNativeAdapter/UMModuleRegistryAdapter.h' file not found
#import <UMReactNativeAdapter/UMModuleRegistryAdapter.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
info 1 error generated.
I opened XCode but I'm basically getting the same message, nothing else that would help me debug this.
I do see that there is a package called react-native-adapter (https://github.com/expo/expo/tree/master/packages/%40unimodules/react-native-adapter), however I'm hesitant to just install this since I followed the instructions on how to include react-navigation and didn't mention that, assuming this is related.
Also, that page says If you are using react-native-unimodules, this package will already be installed and configured!, and react-native-unimodules already is in my dependencies.
Any pointers on how to solve this? Thank you!
For latest RN versions (RN 0.60+) errors like this should be fixed with the auto-linking and just running a pod install.
For older versions you should try:
react-native link in the root folder of your project
Then in Xcode Product->Clean Build folder, restart JS server and attempt to rebuild.
If still not working double check the configs from here:
https://github.com/unimodules/react-native-unimodules
and the App.delegate from here:
https://gist.github.com/brentvatne/1ece8c32a3c5c9d0ac3a470460c65603
Sources:
Pod install reminder was first suggested by Sandy in the below comment
pod install didn't work for me until I added these lines to my pod file:
require_relative '../node_modules/react-native-unimodules/cocoapods.rb'
And
use_unimodules!(modules_paths: ['../node_modules'])
Then do a pod install.
Example: https://gist.github.com/sjchmiela/6c079f2173938a9a61a7c6f053c45000
I had this exact same error with everything configured correctly, everything in the other answers done and all the unimodules installation steps already done, on a project that had worked for months, building it on a new computer. It turned out the reason was because I was simply using the wrong file in xCode.
I had opened the .xcodeproj file when I should have opened and run the build from the .xcworkspace file.
Everything seemed to work as normal apart from this error, which made it look like a configuration problem rather than a simple "you opened the wrong file" problem. Hopefully if someone else makes the same mistake, this will save them a few hours of fruitless tinkering.
I’ve tried over 3 days of trying to fix this error and I’ve found nothing could someone help?
/Users/user/Desktop/Projects/flutter_duelme/flutter_duelme/ios/Runner/GeneratedPluginRegistrant.m:6:9: 'firebase_auth/FirebaseAuthPlugin.h' file not found
I had the same problem all day long. I ended up having to bump my version of Firebase_Auth to the latest, which for me at the moment is: ^0.15.3, which then forced me to have to upgrade Flutter as well.
Did the typical
Delete PodFile and PodFile.lock Flutter Clean Rebuild project pod install
I'm using Mac, so I also had to update my Xcode to 11.3. Then needed to update Mac OS to Catalina.
Lot's of work, but this got me to a successful build. Hopefully, something in here helps others dealing with this issue.
After I updated my mac to MAC OS 10.13.4.
Some of pods that I installed using cocoaPods, now could not be compiled properly.
There are errors from these pods when I build my project.
for example:
one of the pods that i used(RaptureXML), keep giving me errors such as
semantic issues
Unsupported: typedef changes linkage of anonymous type, but linkage was already computed
Conflicting types for 'xmlTextReaderSetErrorHandler'
I'm sure that the there is nothing wrong with these pods, cocoaPods should be the root cause.
However, after searching online for solution whole day, I found looks like the situation that I have.
I also tried remove and reinstall cocoaPods
But it doesn't work. These Pods still keep giving me errors.
So...is anyone have ideas? or should I reinstall my OS?
I can say that there is nothing fundamentally wrong with the OS version since it is working for me. Try a simpler project with different pods.
If that works, then the pods you are using may have some compatibility issues. If it doesn't, you may have to reinstall your Xcode and other developer components.
I've the following problem: I'm using Xcode 9.1 to build my Swift apps. Since a few days I got the error
shell script invocation error
everytime I want to compile the project. It's the only error which is displayed.
I already read some threads here and followed the instructions. F.e. I uninstalled CocaoaPods and reinstalled the latest version, I cleaned up the project, the right scheme is selected etc. But I can't get it to work.
Or is it maybe a problem that I have no iCloud keychain configured? A message with the question to store the "access" key was displayed once but I don't know if this is a problem of Xcode.
Tried it with:-
pod deintegrate
pod install