fix(build): fix ios compile error
parent
873023c7db
commit
93dc16682c
|
@ -27,7 +27,8 @@ namespace TapTap.Login.Editor
|
||||||
// UnityAppController.mm 中对于 URLScheme 的处理
|
// UnityAppController.mm 中对于 URLScheme 的处理
|
||||||
var unityAppControllerPath = path + "/Classes/UnityAppController.mm";
|
var unityAppControllerPath = path + "/Classes/UnityAppController.mm";
|
||||||
var unityAppController = new TapFileHelper(unityAppControllerPath);
|
var unityAppController = new TapFileHelper(unityAppControllerPath);
|
||||||
unityAppController.WriteBelow(@"#import <OpenGLES/ES2/glext.h>", @"#import <TapLoginSDK/TapLoginHelper.h>");
|
unityAppController.WriteBelow(@"#import ""UnityAppController.h""",
|
||||||
|
@"#import <TapLoginSDK/TapLoginHelper.h>");
|
||||||
unityAppController.WriteBelow(
|
unityAppController.WriteBelow(
|
||||||
@"id sourceApplication = options[UIApplicationOpenURLOptionsSourceApplicationKey], annotation = options[UIApplicationOpenURLOptionsAnnotationKey];",
|
@"id sourceApplication = options[UIApplicationOpenURLOptionsSourceApplicationKey], annotation = options[UIApplicationOpenURLOptionsAnnotationKey];",
|
||||||
@"if(url){[TapLoginHelper handleTapTapOpenURL:url];}");
|
@"if(url){[TapLoginHelper handleTapTapOpenURL:url];}");
|
||||||
|
|
Loading…
Reference in New Issue