Undefined characters for i386 architecture, for iOS?

I downloaded the iProcessing framework (allows you to create custom javascript applications for the iPhone), and when I try to compile, I get:

Undefined symbols for architecture i386: "_ADBannerContentSizeIdentifier320x50", referenced from: -[TiUIiOSAdViewProxy SIZE_320x50] in TiUIiOSAdViewProxy.o "_ADBannerContentSizeIdentifier480x32", referenced from: -[TiUIiOSAdViewProxy SIZE_480x32] in TiUIiOSAdViewProxy.o "_OBJC_CLASS_$_ADBannerView", referenced from: objc-class-ref in TiUIiOSAdView.o ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status 

These three build errors prevent the application from compiling correctly. Does anyone have an idea how I can fix them?

Additional Information: I am new to Obj-C, as you can see, and I hope to use this infrastructure as a springboard to get me involved in real iOS programming.

+6
source share
1 answer

Make sure you connect in your iAd infrastructure to your project. Do this by going to your project settings in Xcode. Then select your goal, and in the right pane, go to "Build phases." Then, in the β€œLink Binary with Libraries” section, click the β€œ+” button to add additional frameworks. Select iAd.framework, click Add, and then rebuild.

The screen looks something like this:

enter image description here

+13
source

Source: https://habr.com/ru/post/905881/


All Articles