Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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
0
Question by 1g0rrr · Mar 31, 2014 at 10:38 PM · xcodeadmobsettings

Is there a way to save the xcode settings after build?

Hey. I use the some Admob plugin. And in order to build iOS project, you need to add a specific list of libraries in the xcode as written in instruction https://developers.google.com/mobile-ads-sdk/docs/#ios But after the next build - all settings erased and it is very unpleasant set it all over again. Is there a way to save the xcode settings after build? Or some other way to solve my problem?

Comment
Add comment
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

4 Replies

· Add your reply
  • Sort: 
avatar image
-1
Best Answer

Answer by CatchCo · Mar 31, 2014 at 11:42 PM

Yes you can. It turns out that you only need a couple folders from a Unity3d iOS build to get things to work. For clarification this is how I do my iOS builds:

  1. When I started the project I let Unity generate an iOS project as you are doing now.

  2. I modified the XCode project (icons/names/etc), moved it to a new folder and committed it into source control

  3. Everytime I want to cut a new build I let Unity build as per normal.

  4. Heres the trick: after Unity builds, I delete 3 folders and replace them with the same 3 folders from my latest build. Those folders are

    • YourXCodeProjFolder/Libraries

    • YourXCodeProjFolder/Data

    • YourXCodeProjFolder/Class

Your project should build as normal.

Big Caveat! If you ever introduce a new DLL (this happens to me with assets from the asset store) you will have to open up the XCode project and manually add the DLL as a new file in the Libraries folder. Just copying it to that folder is not enough. Dragging it into the XCode window should be sufficient. This will also be necessary when you remove a DLL.

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
avatar image
1

Answer by supernat · Mar 31, 2014 at 11:08 PM

Click "Append" in the build window after you start the build. It should just update the xcode project rather than recreate it. Also, you can run post build scripts as well.

https://docs.unity3d.com/Documentation/Manual/BuildPlayerPipeline.html

Comment
Add comment · Show 2 · 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
avatar image 1g0rrr · Apr 01, 2014 at 08:42 AM 0
Share

I looked at everything, but could not find the button "Append". Could you explain more precisely, or to make a screenshot?

avatar image supernat · Apr 01, 2014 at 08:27 PM 1
Share

This is how I do it:

Click File -> Build Settings

Click Build

When asked where to save it, use the same folder as before

A new dialog comes up that says "Build folder already exists. Would you like to append or replace it?" Click Append.

It replaces the proper folders and leaves the xcode settings, core directories alone.

avatar image
0

Answer by getyour411 · Mar 31, 2014 at 11:02 PM

http://forum.unity3d.com/threads/31609-Saving-Xcode-configuration

Comment
Add comment · Show 1 · 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
avatar image 1g0rrr · Apr 01, 2014 at 08:44 AM 0
Share

I saw this topic. But there are described snapshots, which save the entire project, not just the setting. Or something I have not seen?

avatar image
0

Answer by ofusion · Jun 08, 2016 at 07:15 AM

It it possible to set "Append or Replace" mode by code?

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.

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

Unity 4.7 Admob iOS link error 0 Answers

Preventing Unity from generating Xcode project everytime? 1 Answer

Unity iOS Build Bitcode Issue 1 Answer

admob unity plugin ios Undefined symbols for architecture arm64: 1 Answer

Xcode 8 Missing App Icons in info.plist 0 Answers


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