Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
2
Question by Jeston · May 23, 2011 at 04:36 PM · dllnative

Tutorials or info dealing with post build process?

I have gotten to the point in unity where I now have a mix of native code and need to link with custom libraries. I was curious if there is any information on how to (from unity's perspective) include these libraries automatically into the xcode project without having to manually add them every time I go to make a new build.

Comment
Add comment · Show 1
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 ikriz · Feb 23, 2013 at 08:37 AM 0
Share

you mean copying the files or including a reference in your xcode project?

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Antony-Blackett · May 23, 2011 at 08:18 PM

Are you sure you only want these libs included at the xCode part? You could import them into Unity as plugins. There are a few documents in the Unity manual about plugins which seems to be the way most people use custom libs with Unity projects.

http://unity3d.com/support/documentation/Manual/Plugins.html#iPhonePlugins

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 Jeston · May 23, 2011 at 10:36 PM 0
Share

Hrmmm,

If they were my own dll's perhaps. In this particular case it is the GANTracker from google analytics. And so I have to add the lib to the project everytime I build from unity. Although I am having other issues now which may be a show stopper.

It is crashing when I added the lib to a 3.1.3 phone attached. (No code yet, just adding the lib to xcode). Although it works fine if the attached phone is a 4.x.

I have tried all thumb/no thumb/ gcc/weak linking combination I can think of. But as for the original question, I have a lib.a from google, and adding it by hand every build is getting old.

avatar image
-1

Answer by kalvinlyle · Mar 12, 2012 at 08:20 PM

The Prime 31 plugins call a Apple Script from their post process build player. I'm trying to figure out the same thing as my project now has a 15 step post build regiment that I must follow to update the Xcode project every time I do a clean build from Unity.

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
0

Answer by ikriz · Jan 26, 2013 at 07:44 PM

Checkout my example for running a post build script on all platforms from unity code without plugins http://www.ikriz.nl/2012/06/18/unity-post-process-mayhem

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 yeahdixon · May 13, 2014 at 02:01 PM 0
Share

link is not working

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

A node in a childnode? 1 Answer

introducing "safe" DLL causes internal compiler error 0 Answers

Native DLL in Unity editor? 1 Answer

DllNotFoundExeption: Help 1 Answer

Call native android constructor 2 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