Xcode 8 or macOS sierra build issue.

Now that’s a different issue. I’m betting you’re trying to test in the Xcode simulator instead of a device.  x86_64 is the chip set for Macs not iPhone/iPads. They are armv7. Look and see if there is an iphone-sim plugin that you can include too.

Rob

Hi Rob,

was indeed testing in the sim.  However i am targeting arm7

http://imgur.com/a/biY7U

Using CoronaEnterprisePlugins.2016.2954/Corona-ads/2016.2828/iphone/libplugin_coronaAds.a

I have the project working with CoronaEnterprisePlugins.2016.2954/notifications/2015.2542/iphone/libnotifications.a

Hence my request for your steps used.  Alternatively, I can document my build steps and post but i thought the other way might be faster…

Peter

I am also having trouble building with the latest Enterprise in Xcode.

Xcode 8, build 8A218a

CoronaEnterprise-2016.2963

I have all the plugins I am using. Build fails with this:

Command /user/bin/codesign failed with exit code 1

Do I need to completely rebuild my project?

Ok, I totally rebuilt my project from scratch and it was a multi-hour hassle. Hopefully, this will save some of you some time.

The codesign error that I was getting was for some bad audio data! I actually had a couple types of issues:

(1) One of the graphics in a directory was a symbolic link. This won’t work with Apple’s code signing process.

(2) We have only about 6 WAV files as everything is MP3. But those WAVs had something wrong with them that made codesign fail, so I resaved those files back out after making sure the bit rate was 44khz and had no funny headers or anything in them. Then, just one WAV file ended up being a pain (codesign kept failing) so I made it a 22khz file and that worked.

When I rebuilt the project from the CoronaEnterprise ProjectTemplate in Xcode 8, everything went smoothly normally, except for plugins. For some reason I was getting an error about libplayer.a and Xcode said it couldn’t find the CoronaEnterprise/Corona/ios/lib directory, but of course it’s right there.

The fix for this was to copy all the plugins I’m using into that directory, then drag those .a files into the “Link Binary With Libraries” section of the Target section.

Now the game runs in the iOS Xcode Simulators as well as builds to iOS devices and can be copied to the devices. Now I can TestFlight the game again.

Rob, we don’t use Corona ads where we get the error. Removing Vungle does it for us where we can build again. Using 2949 or 2970 with Mac OSX El Capitan / SDK 10. Any thoughts / help?

Dropping this - and it works:

– ADS VUNGLE

[“CoronaProvider.ads.vungle”] =

{

publisherId = “com.vungle”,

},

Can you post the error you get with Vungle installed?

Yes, here’s the abbreviated version (I’ll attach the full one):

ld: 1 duplicate symbol for architecture armv7

clang: error: linker command failed with exit code 1 (use -v to see invocation)</result>

ERROR: Builder failed: clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of iOS 7

ld: warning: object file (/Users/FireRabbit/Documents/outfiles/Fix My Motorcycle 3D Extreme Motorbike Mechanic Simulator FREE.app/.build/CoronaProvider.ads.vungle/libads-vungle.a(hmac.o)) was built for newer iOS version (7.0) than being linked (6.0)

ld: warning: object file (/Users/FireRabbit/Documents/outfiles/Fix My Motorcycle 3D Extreme Motorbike Mechanic Simulator FREE.app/.build/CoronaProvider.ads.vungle/libads-vungle.a(VungleNetworkOperation.o)) was built for newer iOS version (7.0) than being linked (6.0)

… 30 - 40 of these

clang: error: linker command failed with exit code 1 (use -v to see invocation)

BUILD ERROR: There was a problem linking the app.

Check the console for more information.

Oct 12 04:49:54.880 iOS build failed (12) after 74 seconds

Oct 12 04:49:54.980 ERROR: Build Failed: There was a problem linking the app.

Ok I encounter the same issues  after upgrading to MacOS Sierra and Xcode 8.0 with iOS SDK 10.0

After downloading Xcode 7.3 with iOS 9.3, the message keep showing, and I can’t build on iOS anymore!

WHAT CAN I DO ? :frowning:

It was working smoothly before the Corona Splash Plugin !

Sorry the message I received is :

Device Installation Problem

ideviceinstaller encountered an error installing the app:

 

dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib

  Referenced from: /var/folders/pw/_wfgfjlx1sz33sml3zvqy59h0000gn/T/AppTranslocation/A99A3CA5-72A2-45CE-931A-28A850237EC9/d/Corona Simulator.app/Contents/Resources/device-support/idevice_id

  Reason: image not found

ERROR: no devices detected (if one is attached, try reconnecting it)

Hey everyone. Please bear with me. We’re need to close this thread. It has become a generic dumping ground for any build error and has little to do with the initial problem reported. Everyone is saying I have the same problem, but in almost every case everyone has a different error message. It’s to a point that helping one person is not going to help the next person.

When you open your new thread please include all of the following:

  1. What version of Corona SDK you are using.

  2. What operating system are you building on (Windows 8, 10, macOS 10.11, 10.12 etc.)

  3. What device you are testing on with it’s operating system.

  4. Your build.settings copy and pasted from the source using code formatting (the blue <> button in the row with Bold, Italic, etc.). Paste the code in the window that pops up.

  5. A copy and paste of your console log.

Sorry for the inconvenience but we have to separate these different issues into their own discussions.

Rob

Just to make sure,  you’re doing Simulator builds, not Enterprise builds?

You’ve tried build 2950 or later?

I am seeing this same issue. It just started today as I was building yesterday with no issues. I have downloaded 2016.2951 and still seeing the issue. I am using Simulator to build and when I build for iOS I see the following in the console:

Sep 19 01:02:12.320 ERROR: Builder failed: ld: library not found for -llibc++

Sep 19 01:02:12.320 clang: error: linker command failed with exit code 1 (use -v to see invocation)

I am running the following:

iOS SDK 9.3

xCode 7.3

Mac OSX El Capitan 10.11.6

Corona SDK 2016.2951

Android is building just fine.

I just did a build with 2951. I’m on Xcode 8 so I’m using iOS 10.0 SDK on El Capitan 10.11.6 and I didn’t get an error. What happens if you drop back to 2949?

Rob

I was using 2948 this morning when I got the error. I will give 2949 the ole college try.

2016.2949 gives the same error…

Is there anyway to disable the coronaAds.plugin on your side? The only real change I have made in the past 2 days is to add Corona Ads. I tried removing all references in my app to Corona Ads but when I build the plugin is still added.

Can I get a list of plugins you guys are using?  Post your build.settings please.

Facebook v4, toast, Corona Ads, notifications, sqlite3

Rob, looks like it is Corona Ads. I removed that plugin from my build.settings and the build now works.

Thanks for that. I’ll see what we can do to fix it.

Rob

Hi guys,

Yeah, looks like it was/is the Corona Ads plugin that’s causing the issue. Removing that from my build.settings has allowed the app to build just fine. (Switching to older / newer builds of the Corona Simulator didn’t help).

So, I can get a build working (which is good), but I’ll have to hold off on the Corona Ads dev for a bit …

Thanks for the help!