Isn’t this the opposite of the Cordova plugin you are trying to use?[quote=“pe1, post:1, topic:92201”]
fatal error: ‘Rollbar/Rollbar.h’ file not found
[/quote]
Could you please post the complete error message?
Also please run the build with --verbose and post the error message.
Normally the plugin should take care of copying the Rollbar files over. I suggest you remove and re-add the ios platform, reinstall the plugin etc to see if this fixes stuff.
Just to be clear, i am using 2 types of rollbar notifications: first one is releated to the plugin to catch native Android/IOS errors, and the socond one to catch JS errors (import { RollbarModule } from 'angular-rollbar):
Back to the plugin issue, i am trying to remove/add plugin without success so far
ionic cordova build ios --prod --verbose:
In file included from /Users/artur/work/scooploop/app/scooploop/platforms/ios/Scooploop/Plugins/resgrid.cordova.plugins.rollbar/CDVRollbar.m:7:
Scooploop/Plugins/resgrid.cordova.plugins.rollbar/CDVRollbar.h:9:9: fatal error: 'Rollbar/Rollbar.h' file not found
#import <Rollbar/Rollbar.h>
^
1 error generated.
** BUILD FAILED **
The following build commands failed:
CompileC /Users/artur/Library/Developer/Xcode/DerivedData/Scooploop-cunkfkklepigkuejpzeluohqdpoj/Build/Intermediates/Scooploop.build/Debug-iphonesimulator/Scooploop.build/Objects-normal/x86_64/CDVRollbar.o Scooploop/Plugins/resgrid.cordova.plugins.rollbar/CDVRollbar.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/artur/work/scooploop/app/scooploop/platforms/ios/cordova/build-debug.xcconfig,-workspace,Scooploop.xcworkspace,-scheme,Scooploop,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone 5s,build,CONFIGURATION_BUILD_DIR=/Users/artur/work/scooploop/app/scooploop/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/artur/work/scooploop/app/scooploop/platforms/ios/build/sharedpch