• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by PrisVas · Mar 02, 2015 at 10:28 PM · iosxcodecompiler

Problem compiling IOS

Hi there, i'm new to ios, its my first attempt to cmpile an ios app. I'm getting the following error on xcode:

 Undefined symbols for architecture armv7:
   "_kGADAdSizeSmartBannerPortrait", referenced from:
       -[GoogleMobileAdBanner InitBanner:bannerId:] in GoogleMobileAdBanner.o
   "_kGADAdSizeFullBanner", referenced from:
       -[GoogleMobileAdBanner InitBanner:bannerId:] in GoogleMobileAdBanner.o
   "_kGADAdSizeBanner", referenced from:
       -[GoogleMobileAdBanner InitBanner:bannerId:] in GoogleMobileAdBanner.o
   "_kGADAdSizeMediumRectangle", referenced from:
       -[GoogleMobileAdBanner InitBanner:bannerId:] in GoogleMobileAdBanner.o
   "_kGADAdSizeSmartBannerLandscape", referenced from:
       -[GoogleMobileAdBanner InitBanner:bannerId:] in GoogleMobileAdBanner.o
   "_kGADAdSizeLeaderboard", referenced from:
       -[GoogleMobileAdBanner InitBanner:bannerId:] in GoogleMobileAdBanner.o
   "_OBJC_CLASS_$_GADInterstitial", referenced from:
       objc-class-ref in GoogleMobileAdController.o
   "_OBJC_CLASS_$_GADRequest", referenced from:
       objc-class-ref in GoogleMobileAdController.o
   "_OBJC_CLASS_$_GADBannerView", referenced from:
       objc-class-ref in GoogleMobileAdBanner.o
 ld: symbol(s) not found for architecture armv7
 clang: error: linker command failed with exit code 1 (use -v to see invocation)


How i get this to work? Appreciate the help.

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image abi-kr01 · Mar 03, 2015 at 07:41 AM 0
Share

just for test :it looks like you have admob(add) in your project .remove that and build if it works then we know this issue is created by banner .after that we can move to resolve the issue with the add you have

avatar image PrisVas · Mar 03, 2015 at 12:07 PM 0
Share

Yeah, I deleted everything related to admob, and it builded ok. But all i get was a black screen on my iphone. I guess its because i also deleted the plugin folder. I´m using the Stan's Assets - Ultimate $$anonymous$$obile.

avatar image abi-kr01 · Mar 03, 2015 at 12:25 PM 0
Share

i have used "Stan" product one of best assistance provided by his $$anonymous$$m.you can droop them a mail with log you get in xcode.for now you can you check the scripts that are attach to game object in the first scene which is suppose to load .some scripts are out of in the plugin folder so they are still present in asset folder and trying to modify the Behaviour of scene .

avatar image PrisVas · Mar 03, 2015 at 10:58 PM 0
Share

I will send an email. I'm getting another error. I updated the asset, but the compiler says a file is missing.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by tikamar · Oct 26, 2021 at 11:06 AM

I have the same error when I add facebook adapter and admob mediation I resolve this by check "Link framework statically" on IOS Resolver Settings

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

23 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

iOS build is including Mac OSX .bundle files into Xcode Project 2 Answers

iOS Xcode Error: Thread 1: EXC_BREAKPOINT 0 Answers

XCode deprecation problem? 0 Answers

Undefined Symbol for Architecture i386 “_CloseZStream”, “_CreateZStream” etc 0 Answers

Apple Tv Leaderboard shows "No Data Available" 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges