Unity iOS build

From grovermind
Revision as of 00:38, 29 August 2015 by Carlton (talk | contribs) (Created page with "Requires: xcode 7 cocoapods - sudo gem install cocoapods Unity switch to ios build, modify player settings for simulator build. Build - Move Podfile into the directory speci...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Requires: xcode 7 cocoapods - sudo gem install cocoapods

Unity switch to ios build, modify player settings for simulator build. Build

- Move Podfile into the directory specified for the build (./Hexagone/iOS). Podfile contains this text: source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '7.0'

pod 'Google-Mobile-Ads-SDK', '~> 7.0'

cd to ./Hexagone/iOS and run pod install. Open xcode and open './iOS/Unity-iPhone.xcworkspace'

Build Settings-> choose "Enable Modules(C and Objective-C)

Build Phases->Link Binary with Libraries:drag Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAds.framework into the list

Product->Run (Product->Select Destination to choose alternate)