Quantcast
Channel: Questions in topic: "ios"
Viewing all articles
Browse latest Browse all 4709

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

$
0
0
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?

Viewing all articles
Browse latest Browse all 4709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>