Difference between revisions of "Unity iOS build"

From grovermind
Jump to navigation Jump to search
(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...")
 
 
Line 2: Line 2:
  
 
Unity switch to ios build, modify player settings for simulator build.
 
Unity switch to ios build, modify player settings for simulator build.
−
Build
+
Build and Run
  
 
- Move Podfile into the directory specified for the build (./Hexagone/iOS). Podfile contains this text:
 
- Move Podfile into the directory specified for the build (./Hexagone/iOS). Podfile contains this text:

Latest revision as of 01:06, 29 August 2015

Requires: xcode 7 cocoapods - sudo gem install cocoapods

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

- 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)