Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Build error when trying to build for device
Started by rmbsoft Sep 25 2014 10:16 AM

10 replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

rmbsoft

[GLOBAL: userInfoPane.html]
rmbsoft
  • Contributor

  • 444 posts
  • Corona SDK

Since today, whenever I try to build any app, i get this error:

2014-09-25 14:07:20.271 Corona Simulator[219:e03] Using Custom Build Id 00000
Using additional build settings from: /Users/rdb/Desktop/Corona/Slingo/build.settings
WARNING: Your SDK may be out of date b/c the following SDK directory could not be found:	/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk
WARNING: Using the following SDK instead: 	/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk
WARNING: Your SDK may be out of date b/c the following SDK directory could not be found:	/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk
WARNING: Using the following SDK instead: 	/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk
2014-09-25 14:07:39.141 Corona Simulator[219:e03] Runtime error
	/Users/rdb/Desktop/Slingo.app/.build/libtemplate/Builder.lua:310: <error>{"status":256,"message":"Undefined symbols for architecture armv7:\n  \"_OBJC_CLASS_$_UIPercentDrivenInteractiveTransition\", referenced from:\n      _OBJC_CLASS_$_GADPercentDrivenUserInteractionAnimationController in libgoogle-play-services.a(GADPercentDrivenUserInteractionAnimationController.o)\n  \"_OBJC_METACLASS_$_UIPercentDrivenInteractiveTransition\", referenced from:\n      _OBJC_METACLASS_$_GADPercentDrivenUserInteractionAnimationController in libgoogle-play-services.a(GADPercentDrivenUserInteractionAnimationController.o)\n  \"_UITransitionContextFromViewControllerKey\", referenced from:\n      -[GADViewControllerFullScreenSwipeAnimation animateTransition:] in libgoogle-play-services.a(GADViewControllerFullScreenSwipeAnimation.o)\n      -[GADViewControllerFullScreenSwipeAnimation animationContextForRestoringAnimationToSavedState:] in libgoogle-play-services.a(GADViewControllerFullScreenSwipeAnimation.o)\n  \"_UITransitionContextToViewControllerKey\", referenced from:\n      -[GADViewControllerFullScreenSwipeAnimation animateTransition:] in libgoogle-play-services.a(GADViewControllerFullScreenSwipeAnimation.o)\n      -[GADViewControllerFullScreenSwipeAnimation animationContextForTopToBottomAnimationPresentationWithTransitionContext:] in libgoogle-play-services.a(GADViewControllerFullScreenSwipeAnimation.o)\n      -[GADViewControllerFullScreenSwipeAnimation animationContextForBottomToTopAnimationPresentationWithTransitionContext:] in libgoogle-play-services.a(GADViewControllerFullScreenSwipeAnimation.o)\nld: symbol(s) not found for architecture armv7\nclang: error: linker command failed with exit code 1 (use -v to see invocation)"}</error>
stack traceback:
	[C]: ?
	[C]: in function 'assert'
	/Users/rdb/Desktop/Slingo.app/.build/libtemplate/Builder.lua:310: in function 'checkError'
	/Users/rdb/Desktop/Slingo.app/.build/libtemplate/Builder.lua:333: in function 'build'
	?: in function 'buildExe'
	?: in function <?:636>

The only thing I recently changed, is upgrading one of my iPads to iOS 8.

 

Using Corona 2014.2401

 

build.settings:

settings =
{
  plugins =
  {
      ["CoronaProvider.ads.vungle"] = { publisherId = "com.vungle", },
      ["plugin.google.play.services"] = { publisherId = "com.coronalabs", },
      ["facebook"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone = true }, },                
  },
  orientation =
  {
    default = "portrait",
    supported = { "portrait" }
  },
  android =
  {
    usesPermissions =
    {
      "android.permission.INTERNET",
      "android.permission.ACCESS_NETWORK_STATE",
    },
  },
  iphone =
  {
    plist =
    {
      UIAppFonts = 
      {
          "walibi-holland.ttf",
      },      
      CFBundleIconFile = "Icon.png",
      CFBundleIconFiles =
      {
                "Icon.png", 
                "Icon@2x.png", 
                "Icon-60.png",
                "Icon-60@2x.png",
                "Icon-72.png", 
                "Icon-72@2x.png",
                "Icon-76.png",
                "Icon-76@2x.png", 
                "Icon-Small.png", 
                "Icon-Small-50.png", 
                "Icon-Small-50@2x.png", 
      },
      UIApplicationExitsOnSuspend = false,  -- must be false for single sign-on to work

      CFBundleURLTypes =
      {
        {
          CFBundleURLSchemes =
          {
            "fbXXXXXXXXX",  -- replace XXXXXXXXX with your facebook appId, make sure that you leave fb in front of it       
          }
        }
      }
    }
  }
}



[TOPIC: post.html]
#2

coronasdk771

[GLOBAL: userInfoPane.html]
coronasdk771
  • Enthusiast

  • 44 posts
  • Corona SDK

android =
  {
    usesPermissions =
    {
      "android.permission.INTERNET",
      "android.permission.ACCESS_NETWORK_STATE",a
    },
  },

maybe the letter 'a' after android.permission.ACCESS_NETWORK_STATE causes the issue?



[TOPIC: post.html]
#3

rmbsoft

[GLOBAL: userInfoPane.html]
rmbsoft
  • Contributor

  • 444 posts
  • Corona SDK

Nope, that was a typo when writing the message :)

 

Installed the latest Corona SDK 2014.2445, same error, but the popup message now says: Error code 5, if you're not connecting to the Internet directly, you might try a direct connection.

 

BTW: I can build for Android on Windows with the same source code.



[TOPIC: post.html]
#4

ubj3d.android

[GLOBAL: userInfoPane.html]
ubj3d.android
  • Contributor

  • 741 posts
  • Corona SDK

Cant build for the device.

Have latest daily build 2446.

 

9/28/14 2:39:51.793 PM Corona Simulator[135]: Runtime error
/Users/ubj3d/Desktop/Halloween Find The Pair.app/.build/libtemplate/Builder.lua:310: <error>{"status":256,"message":"ld: framework not found Metal for architecture armv7\nclang: error: linker command failed with exit code 1 (use -v to see invocation)"}</error>
stack traceback:
[C]: ?
[C]: in function 'assert'
/Users/ubj3d/Desktop/Halloween Find The Pair.app/.build/libtemplate/Builder.lua:310: in function 'checkError'
/Users/ubj3d/Desktop/Halloween Find The Pair.app/.build/libtemplate/Builder.lua:333: in function 'build'
?: in function 'buildExe'
?: in function <?:643>
 


[TOPIC: post.html]
#5

rmbsoft

[GLOBAL: userInfoPane.html]
rmbsoft
  • Contributor

  • 444 posts
  • Corona SDK

I fixed it by updating XCode



[TOPIC: post.html]
#6

jandjstudiosllc

[GLOBAL: userInfoPane.html]
jandjstudiosllc
  • Enthusiast

  • 56 posts
  • Corona SDK

I just ran into this issue myself.  Rather frustrating when I was still using the last public release and things suddenly break in the background like that.  

 

Thanks for tracking down the fix rmbsoft!



[TOPIC: post.html]
#7

jandjstudiosllc

[GLOBAL: userInfoPane.html]
jandjstudiosllc
  • Enthusiast

  • 56 posts
  • Corona SDK

Scratch that, still getting this error.  I'm using the latest public release, 2393, and Xcode 6.01.  The same code builds just fine for Android.

 

Here's the error message I'm getting:

 

2014-09-29 10:20:11.559 Corona Simulator[1845:507] 
Copyright © 2009-2014  C o r o n a   L a b s   I n c .
2014-09-29 10:20:11.559 Corona Simulator[1845:507]  Version: 3.0.0
2014-09-29 10:20:11.560 Corona Simulator[1845:507]  Build: 2014.2393
Using additional build settings from: /Users/user23020/Dropbox/J&J Studios LLC/myApp/build.settings
2014-09-29 10:22:27.434 Corona Simulator[1845:507] Runtime error
/Users/user23020/Desktop/myApp.app/.build/libtemplate/Builder.lua:310: <error>{"status":256,"message":"ld: framework not found Metal for architecture armv7\nclang: error: linker command failed with exit code 1 (use -v to see invocation)"}</error>
stack traceback:
[C]: ?
[C]: in function 'assert'
/Users/user23020/Desktop/myApp.app/.build/libtemplate/Builder.lua:310: in function 'checkError'
/Users/user23020/Desktop/myApp.app/.build/libtemplate/Builder.lua:333: in function 'build'
?: in function 'buildExe'
?: in function <?:624>


[TOPIC: post.html]
#8

rmbsoft

[GLOBAL: userInfoPane.html]
rmbsoft
  • Contributor

  • 444 posts
  • Corona SDK

I also updated to OSX 10.9.5 first, but that didn't fix my probl;em until I updated XCode.

 

Are you using the latest Corona Build?

 

If you use any plugins, try to remove them one by one to see if that makes a difference.



[TOPIC: post.html]
#9

jandjstudiosllc

[GLOBAL: userInfoPane.html]
jandjstudiosllc
  • Enthusiast

  • 56 posts
  • Corona SDK

Good call on the plugins rmbsoft.  Looks like the adbuddiz plugin was causing the issue for me.  As soon as I commented that out it built just fine.  I'm using the latest public release, 2393a, and OSX 10.9.5.

 

Thanks for the help!



[TOPIC: post.html]
#10

schizoid2k

[GLOBAL: userInfoPane.html]
schizoid2k
  • Contributor

  • 578 posts
  • Corona SDK

Build 2014.2468

XCode 6.0.1

 

I'm still getting this error.  Anyone figure it out?



[TOPIC: post.html]
#11

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,675 posts
  • Enterprise

We are going to need a project that has this error and filed as a bug report to track this down.  When submitting the bug report, please make sure to include your build.settings and config.lua as well as any assets needed to make it work.

 

Please post the bug ID back here when you get the email from the bug tracker.

 

Rob




[topic_controls]
[/topic_controls]