ios public - woodelf-treetop/rcwiki GitHub Wiki

Pod

拷贝配置文件到xcode工程根目录

  • Podfile
  • Podfile.lock
  • <多语言文件>.lproj
  • Info.plist
  • GoogleSercive-Info.plist
cd $projectdir
pod install

Link binary with libraries

  • AuthenticationServices.framework
  • iAd.framework
  • AppTrackingTransparency.framework(Optional)
  • libicucore.A.tbd

Build settings

  • Build Options
    • Enable bitcode: NO
  • Apple Clang - Language
    • C Language Dialect: Compiler Default
  • Apple Clang - Language - Object-C
    • Enable Objective-C Exceptions: YES
  • Deployment
    • IOS Deployment Target: IOS9.0

Info

  • 将配置文件引用到xcode工程
    • <多语言文件>.lproj
    • GoogleService-Info.plist

Signing&Capabilities

  • Signing
    • Automatically manage signing: NO
    • Bundle Identifier: xxx.xxx.xx
    • Provisioning Profile: xxx.xxx.xx
  • In-App Purchase
  • Sign in with Apple
  • Keychain Sharing
    • Keychain Groups: LYGame.IlongSDK
  • Push Notifications

General

  • Identity
    • Version: xxx
    • Build: xxx

CTAssetsPickerController

  • Pod-->TARGETS-->CTAssetsPickerController-->Build Phasses-->Copy Bundle Resources: CTAssetsPickerController.bundle

UnityAppController.mm

#import "UAIMapper.h"

- (BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions
{
   //...
   [[UAIMapper Instance] application:application didFinishLaunchingWithOptions:launchOptions];
}

- (void)applicationDidBecomeActive:(UIApplication*)application
{
   //...
   [[UAIMapper Instance] applicationDidBecomeActive:application];
}

- (void)applicationWillResignActive:(UIApplication*)application
{
   //...
   [[UAIMapper Instance] applicationWillResignActive:application];
}

- (BOOL)application:(UIApplication*)application openURL:(NSURL*)url sourceApplication:(NSString*)sourceApplication annotation:(id)annotation
{
   //...
   [[UAIMapper Instance] application:application openURL:url sourceApplication:sourceApplication annotation:annotation];
}
2020-12-17 gaoshuang
⚠️ **GitHub.com Fallback** ⚠️