I'm currently using the BuildBox with Xcode 8 and I keep getting this error message: linker command failed with exit code 1 (use -v to see invocation) Anyone figured out the solution?
I am going crazy over it, hope you could help me out. If you could tell me what all screenshots do you need. Also on a side note another error is being shown ads/PTPAdcontrollerfile.h not found , when I am trying to use MoPub mediation as mentioned in the article written by Buildbox team. It is happening swiftly in BB2 exported but causing this error in BB3 exported project. Article :- (http://help.buildbox.com/advertising-and-sdks/using-the-3rd-party-api-mopub-example)
@itzonator it is saying - F path ' BBPlayer/libs.ads' is not a directory. Any way of correcting this ?
Another screenshot that might be of some help to you. This problem never occurred with BB2 exported files but this is the first time I am exporting BB3 file and this problem is coming .
Check your directory structure. I see in your attached document that is not able to find the directory "ads". Make sure that you have your directory name properly. Apparently "libs/ads" is not there, but your Xcode is being told to use files within those directories and Xcode can not find it. Do a screen shot of your Xcode directory structure, this will help me see the issue.
I am new to this , I don't know what a directory is. It is the files on the left side of the screen under BB Player. And you are suggesting to change the name of a file am I right ?
The directories are what holds your files. So if you have a directory named "libs" then inside that name "libs" are files, directories hold files. So code is looking for a directory called "libs/ads". So you have one directory called "libs" and inside that directory you have another directory called "ads" and inside that directory there are files and it appears that within that directory you have your MoPub libraries. Xcode can not find it because maybe you have the directories named incorrectly. The directory name must match exactly, upper case and lowercase must match exactly. Make sense?
When I go to the libs folder in the exported iOS folder I see a file named ads. I am attaching screenshot for your reference and another screenshot that might help you. If you need any other screenshot pls tell me
The screenshot shows that "ads" is not a directory, it looks like it is a file. Xcode is searching for that directory and it thinks your MoPub is inside that directory, but when Xcode searches it finds that "ads" is actually a file, not a directory, Hence this is the reason for the error.
I didn't rename anything by the way. I believe there is some problem with iOS export modules in BB3. In my BB2 exported folder when I open libs and then ads I see something else. ( Attaching it as a screenshot ) Do you think copying the same and replacing it in BB3 folder would solve the problem ?
So what could be a possible solution for this ? Do you have any idea ? Any help would be appreciated, I am going mad over this for a couple of days. Thanks in advance for taking out time to help.
I am experiencing several problem with my iOS exporting which others are not. My iOS folder size is too large (600 mb ) for a game in which I have not used many assets and I have only 1 atlases that too only 1/4 occupied by assets. Then this ads is a file and not a directory. And some other little problems. Do you have a soltion for this ?
Copying those over will not be your solution for BB3. Basically "ads" needs created as a directory, which you would do outside of Xcode. Then within that directory you place you MoPub frameworks. It looks like something went wrong when MoPub was added to your project. I personally have never used MoPub, but I can see by your screenshot that code thinks the frameworks for MoPub is inside a directory called "ads" and for some reason instead of a directory named "ads" you have a file called "ads" and of course the moPub frameworks can not be placed within a file. The error is caused because Xcode has been told to find the frameworks inside that directory. Something went wrong with your MoPub installation and Xcode can not find it to link to it.
Ok. What version of Xcode are you using? This sounds like a strange issue related to Xcode, because there is no way your file should be that large.