Description
openedon Sep 24, 2019
Description
I get the following error message on xCode 11, trying to build on an iPad pro. The message here is:
.../node_modules/appcenter/ios/AppCenterReactNative/AppCenterReactNative.m:22:9: 'AppCenter/AppCenter.h' file not found
.../node_modules/appcenter/ios/AppCenterReactNative/AppCenterReactNative.m:22:9: Did not find header 'AppCenter.h' in framework 'AppCenter' (loaded from '.../Library/Developer/Xcode/DerivedData/AppName-eesqqsqtvoykvmfvnihmjcoqltlf/Build/Products/Debug-iphoneos/appcenter'
If I go to that DerivedData folder, I don't see an AppCenter.h in there. Only appcenter-umbrella.h and AppCenterReactNative.h.
I'm new to xCode, but I could note that:
There is a pod under Development Pods
called appcenter
, and another one inside Pods
that's called AppCenter
. The AppCenter
one is where the AppCenter.h lives, but the podspec just mention the AppCenterReactNativeShared.framework
I have to use "use_frameworks!" due to a pod that requires it. But I don't know enough to say if it's messing things up or not.
(rn is 0.61.0-rc.3, because I read it has support for use_frameworks! and appcenter is 2.3.0)
- Which version of the App Center SDK are you using?
2.3.0 - Which OS version did you experience the issue on?
iOS 12.3.1 - What device version did you see this error on? Were you using an emulator or a physical device?
iPad Pro - What third party libraries are you using?
Bugsnag
TextToSpeech
fetch-blob
RNCAsyncStorage
RNVectorIcons - Run the following command and paste the output below:
react-native info
System:
OS: macOS 10.14.5
CPU: (4) x64 Intel(R) Core(TM) i7-4578U CPU @ 3.00GHz
Memory: 454.96 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.16.3 - ~/.nvm/versions/node/v10.16.3/bin/node
Yarn: 1.17.3 - /usr/local/bin/yarn
npm: 6.9.0 - ~/.nvm/versions/node/v10.16.3/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.0, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0
Android SDK:
API Levels: 23, 25, 26, 27
Build Tools: 23.0.1, 23.0.3, 25.0.0, 25.0.2, 25.0.3, 26.0.1, 26.0.2, 27.0.0, 27.0.3
System Images: android-23 | Intel x86 Atom_64, android-23 | Google APIs Intel x86 Atom_64, android-26 | Google APIs Intel x86 Atom, android-27 | Google APIs Intel x86 Atom, android-27 | Google Play Intel x86 Atom
IDEs:
Android Studio: 3.0 AI-171.4443003
Xcode: 11.0/11A420a - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.0-rc.3 => 0.61.0-rc.3
- If you're developing for React Native iOS, run the following command and paste the output below:
pod --version
1.5.3
- Please enable verbose logging for your app using
[MSAppCenter setLogLevel: MSLogLevelVerbose];
before your call to[AppCenterReactNative register];
(or any other SDK registration). For Android, useAppCenter.setLogLevel(android.util.Log.VERBOSE);
before yourSoLoader.init
call (you will need toimport com.microsoft.appcenter.AppCenter;
). Include the logs here:
I think this does not apply, because I can't even run.