Unity iOS build
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 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)