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
5
Question by genius park · Dec 24, 2015 at 08:56 AM · iosframework

How can I build the ios unity project as ios framework project?

I did export iOS Unity Project, and then i want to convert the project to iOS Framework Project. Because i want to make the project into SDK(.framework) for using the SDK in other normal app.

When it is built into framework project, Crash in UnityInitApplicationNoGraphics().

(crash occurred >>> il2cpp::vm:MetadataCache::Initialize()) Application project (include unity ios framework) is occurred in following function.

  • (BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions { ... // it is occurred crash in following function. (the parameter is path of Application(.app)) UnityInitApplicationNoGraphics([[[NSBundle mainBundle] bundlePath] UTF8String]); ... } It also is called UnityInitTrampoline(); and UnityParseCommandLine(argc, argv); of the framework in main.mm of Application Project (argv parameter is path of Application(.app)).

What is the meaning of UnityInitTrampoline(); and UnityParseCommandLine(argc, argv); functions?

Comment
Add comment · Show 2
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 woqunida · Jun 07, 2016 at 07:31 AM 0
Share

are you solved this problem? @genius park

avatar image haxpor · Sep 14, 2016 at 01:57 AM 0
Share

Did you solve the problem @genius park ? I also experienced the similar problem http://forum.unity3d.com/threads/build-unity-app-as-framework-then-consumed-by-another-app.430068/. At first it's about Data/ location that needs to be correctly placed and made Unity be able to find it. But even though I did that, it shouted out something error about WriteLock().

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by cj657206427 · Oct 21, 2016 at 07:28 AM

Did you solve the problem @genius park @haxpor ? I also experienced the similar problem

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

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Using a .embeddedframework (ios) in Unity - EntryPointNotFoundException 0 Answers

Custom swift framework in Unity iOS game 0 Answers

Implementing iOS Framework in Unity3D 1 Answer

iOS C++ plugin that itself relies on framework 1 Answer

ld: framework not found UnityFramework 1 Answer


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