-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exports.xcconfig file missing #8
Comments
That is auto generated by Unity iOS build, and excluded by .gitignore intentionally. Before building Xcode project, you have to build Unity project first (using iOS platform). |
It would be better to have it mentioned in the Readme file. |
Ok, this may be a dumb question on this topic but when I build my unity project for IOS I get all the necessary files and structure to run this on a device captive inside unity but as far as I can tell there is no Exports.xconfig file generated. Am I missing something. I am generally following BLITZ and the-nerd for building the Unity project and it's just not clear how/why the exports.config file is generated at the build stage in Unity. |
@DeanSCND If you're building your own Unity project, make sure you put the post build script in |
I am probably making a mistake somewhere, but I'd like to report that cloning the repo, then building Demo.unity for iOS does not add Exports.xcconfig xcode/DemoApp/Unity. Unity version is 2017.3.1f1 EDIT: This was caused by a path issue in XcodePostBuild.cs. "XcodeProjectRoot =" didn't resolve properly since I unzipped master on my desktop. |
The post build scripts only appear to get executed if there is a scene in the Build Settings. No scenes, no post-build script, no Exports.xcconfig file generated. Add the Demo scene to the Build Settings and everything happens as it should. |
I've tried tips above but did get Exports.xcconfig until I ticked this option: |
Also happened here. I fixed it by updating the XcodeProjectRoot relative path to a absolute path. |
Hi, |
#ifndef BRIDGING_HEADER #import <UIKit/UIKit.h> #endif /* BRIDGING_HEADER */
|
HI @PrashantKT
Hi @PrashantKT i am tried more than the best but i get the same issue in the stpe 9"configuration dropdown is empty" i have attached the unity exported to IOS project. |
@Ramprasathselvam Copy entire Unity folder to the root of your Swift project and add it to Xcode source tree. Make sure all the .mm files are added to correct build target. |
https://github.com/jiulongw/swift-unity |
Seems Exports.xcconfig are not added to the git.
The text was updated successfully, but these errors were encountered: