devilcore 0.0.285

devilcore 0.0.285

muyoungko 维护。



 
依赖项
lottie-ios~> 2.5.3
MQTTClient>= 0
ZXingObjC~> 3.6.9
Charts~> 4.1.0
GoogleMaps= 7.3.0
 

devilcore 0.0.285

  • muyoungko

库更新 2022/6/21

安装 Alamofire 5.6.1(原 5.4.3),安装 AppAuth 1.5.0(原 1.4.0),安装 FBSDKCoreKit 9.3.0(原 11.0.1),安装 FBSDKLoginKit 9.3.0(原 11.0.1),安装 FBSDKShareKit 9.3.0(原 11.0.1),安装 Firebase 9.1.0(原 8.3.0),安装 FirebaseAnalytics 9.1.0(原 8.3.0),安装 FirebaseAuth 9.1.0(原 8.3.0),安装 FirebaseCore 9.1.0(原 8.3.0),安装 FirebaseCoreDiagnostics 9.1.0(原 8.3.0),安装 FirebaseCoreInternal(9.1.0),安装 FirebaseCrashlytics 9.1.0(原 8.3.0),安装 FirebaseDynamicLinks 9.1.0(原 8.3.0),安装 FirebaseInstallations 9.1.0(原 8.3.0),安装 FirebaseMessaging 9.1.0(原 8.3.0)

场景转换

创建 SceneDelegate,从 AppDelegate 中删除 window 相关代码,在 Info.plist 中添加 UIApplicationSceneManifest 部分

Google Ads 集成

在 AppDelegate 中实现 DevilSdkGoogleAdsDelegate 协议

@property(nonatomic, strong) GADInterstitialAd interstitial; @property (nonatomic, retain) GADRewardedAd rewardedAd;

[DevilSdk sharedInstance].devilSdkGoogleAdsDelegate = self; [[DevilSdk sharedInstance] addCustomJevil:[JevilAds class]];

-(void)loadAds:(id)params complete:(void (^)(id res))callback -(void)showAds:(id)params complete:(void (^)(id res))callback

神秘的错误

错误 ITMS-90206: "无效的包。位于 'devil.app/Frameworks/devilcore.framework' 的包包含不允许的文件 'Frameworks'。" 在 devilcore 的 Build Setting 中将 Embed 搜索 Always Embed Swift Standard Libraries 由 YES 改为 NO https://stackoverflow.com/questions/25777958/validation-error-invalid-bundle-the-bundle-at-contains-disallowed-file-fr?lq=1

ios 16 xcode 14 编译错误

更改 Pod 文件 Podfile platform :ios, '16.0'

重新安装 pod pod deintegrate pod install

关于卡卡오的错误,请按以下方式修改 pod 'KakaoSDKCommon', '2.11.3' # 包含必需元素的公共模块 pod 'KakaoSDKAuth', '2.11.3' # 用户认证 pod 'KakaoSDKUser', '2.11.3' # 卡卡奥登录、用户管理 pod 'KakaoSDKTalk', '2.11.3' # 朋友、消息(卡卡奥聊天) pod 'KakaoSDKStory', '2.11.3' # 卡卡奥故事 参考 https://devtalk.kakao.com/t/swift5-7-xcode14-beta3/124083/12

适当地更改 Facebook SDK 的 team sigin

NFC 标签 NDEF 读取故障排除

https://stackoverflow.com/questions/56453525/missing-required-entitlement-for-nfctagreadersession 在 info.plist 中添加 com.apple.developer.nfc.readersession.iso7816.select-identifiers D2760000850101 com.apple.developer.nfc.readersession.felica.systemcodes 12FC