Open knobapps opened 8 years ago
Found you cannot have [.] or spaces in your App name.
Same here: 'Chartboost/Chartboost.h' file not found In Android everything is OK. Guess that we need somehow to install Chartboost SDK but how to do that?
No, I found the fix is to remove any spaces from your app name in the confign.xml
Example
BAD: <name>My APP</name>
GOOD: <name>MyAPP</name>
My app name doesn't have any spaces in it.
The other issue I know of, is not using the correct plugin import command line. Send me an email with what you are typing in and I might be able to help. I have done this a few times.
support@knobapps.com
@knobapps @Ziv-Barber
Try not npm but github url because npm doest not support ios symbolic link.
Use this command:
cordova plugin add cordova plugin add https://github.com/cranberrygame/cordova-plugin-ad-chartboost
Thanks Sang Ki Kwon
cordova plugin add https://github.com/cranberrygame/cordova-plugin-ad-chartboost.git worked - thanks!!!
You are welcome
i got same here
i'm still facing the chartboost.h not found problem even after add it via cordova plugin add https://github.com/cranberrygame/cordova-plugin-ad-chartboost.git i'm using cordova ios 4.4.0 i did also check my app name and there are no spaces any help please ? thank you
I this issue again with Xcode 9 and Cordova iOS 4.5.1 How can I add the SDK to xcode?
OK found the solution:
https://answers.chartboost.com/en-us/articles/download
@Ziv-Barber thanks is cordova ios 4.5.1 good ? faster ? whats news on it ? (i'm using 4.4.0)
Exporting using Construct 2, then compiling using cordova, I get the following error in iOS. I do not get the error in Android.
/Users/user30017/Desktop/BCQuestForLove_iOS/platforms/ios/build/B.C.\ Quest\ for\ Love.build/Debug-iphonesimulator/B.C.\ Quest\ for\ Love.build/Objects-normal/i386/ChartboostPlugin.o In file included from /Users/user30017/Desktop/BCQuestForLove_iOS/platforms/ios/B.C. Quest for Love/Plugins/cordova-plugin-ad-chartboost/ChartboostPlugin.m:5: B.C. Quest for Love/Plugins/cordova-plugin-ad-chartboost/ChartboostPlugin.h:6:9: fatal error: 'Chartboost/Chartboost.h' file not found
import <Chartboost/Chartboost.h>
1 error generated.