build error while add revmob ad in iOS app

后端 未结 8 1676
生来不讨喜
生来不讨喜 2021-02-19 03:02

I want to add RevMob add in my app but there are some errors

Undefined symbols for architecture i386:
\"_OBJC_CLASS_$_SKStoreProductViewController\", reference         


        
8条回答
  •  -上瘾入骨i
    2021-02-19 03:39

    It looks like the ad sdk you have now does not include support for use with the simulator.

    -[RevMobStoreController openStoreWithITunesItemId:] in RevMobAds(RevMobStoreController.o) ld: symbol(s) not found for architecture i386

    if you get anything that mentions "not found for architecture" means revmob didnt include classes for running on simulator. You have 2 choices. look for a missing library ".a file" or only compile for testing on a device.

    I've ran into an issue with the new ios6 where revmob did not support the new iphone 5 armv7s architecture.

    Double check your revmob installation or try compiling to your phone instead of the simulator

提交回复
热议问题