getuilaboratory / getui-sdk-ios-cocoapods Goto Github PK
View Code? Open in Web Editor NEW个推官方提供的推送SDK CocoaPods 集成库(iOS平台 )
Home Page: http://docs.getui.com/
License: MIT License
个推官方提供的推送SDK CocoaPods 集成库(iOS平台 )
Home Page: http://docs.getui.com/
License: MIT License
版本:2.7.4.0
堆栈:
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000105c17034
Crashed Thread: 49
Thread 49 Crashed:
0 XXX 0x0000000105c17034 closure #1 (Swift.Optional<Foundation.Data>, Swift.Optional<Network.NWConnection.ContentContext>, Swift.Bool, Swift.Optional<Network.NWError>) -> () in GbdSdk_.NetworkTcpUtil.(setupReceiveData in _884D766FA8E03EAA2E72044D8521917C)() -> () (in XXX) + 1624
1 XXX 0x0000000105c16ed0 closure #1 (Swift.Optional<Foundation.Data>, Swift.Optional<Network.NWConnection.ContentContext>, Swift.Bool, Swift.Optional<Network.NWError>) -> () in GbdSdk_.NetworkTcpUtil.(setupReceiveData in _884D766FA8E03EAA2E72044D8521917C)() -> () (in XXX) + 1268
2 libswiftNetwork.dylib 0x00000001d7d85040 closure #1 (Swift.Optional<__C.OS_dispatch_data>, Swift.Optional<__C.OS_nw_content_context>, Swift.Bool, Swift.Optional<__C.OS_nw_error>) -> () in Network.NWConnection.receiveMessage(completion: (Swift.Optional<Foundation.Data>, Swift.Optional<Network.NWConnection.ContentContext>, Swift.Bool, Swift.Optional<Network.NWError>) -> ()) -> () (in libswiftNetwork.dylib) + 168
3 libswiftNetwork.dylib 0x00000001d7d84c90 reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed Swift.Optional<__C.OS_dispatch_data>, @guaranteed Swift.Optional<__C.OS_nw_content_context>, @unowned Swift.Bool, @guaranteed Swift.Optional<__C.OS_nw_error>) -> () to @escaping @callee_unowned @convention(block) (@unowned Swift.Optional<__C.OS_dispatch_data>, @unowned Swift.Optional<__C.OS_nw_content_context>, @unowned Swift.Bool, @unowned Swift.Optional<__C.OS_nw_error>) -> () (in libswiftNetwork.dylib) + 108
4 libdispatch.dylib 0x00000001c4000114 __dispatch_block_async_invoke2 (in libdispatch.dylib) + 148
5 libdispatch.dylib 0x00000001c3ff0fdc __dispatch_client_callout (in libdispatch.dylib) + 20
6 libdispatch.dylib 0x00000001c4002b8c __dispatch_root_queue_drain (in libdispatch.dylib) + 684
7 libdispatch.dylib 0x00000001c4003284 __dispatch_worker_thread2 (in libdispatch.dylib) + 164
8 libsystem_pthread.dylib 0x000000020aa65dbc __pthread_wqthread (in libsystem_pthread.dylib) + 228
能修复包里面的低级警告吗?
while processing /Users/zrh/Documents/app-ios/Pods/GTSDK/libGeTuiSdk-1.4.2.a(GTXAppenderManager.o):
warning: /var/folders/_k/7t70yqjd7cv2mgtf6j0ltxfc0000gn/C/org.llvm.clang.gexin/ModuleCache/1OMS5IXFPHADG/Foundation-3DFYNEBRQSXST.pcm: No such file or directory
note: Module debugging should be disabled when shipping static libraries.
while processing /Users/zrh/Documents/app-ios/Pods/GTSDK/libGeTuiSdk-1.4.2.a(GTXAppenderManager.o):
warning: /var/folders/_k/7t70yqjd7cv2mgtf6j0ltxfc0000gn/C/org.llvm.clang.gexin/ModuleCache/1OMS5IXFPHADG/UIKit-1V5UHAPTOD24G.pcm: No such file or directory
while processing /Users/zrh/Documents/app-ios/Pods/GTSDK/libGeTuiSdk-1.4.2.a(GTXAppenderManager.o):
warning: /var/folders/_k/7t70yqjd7cv2mgtf6j0ltxfc0000gn/C/org.llvm.clang.gexin/ModuleCache/1OMS5IXFPHADG/ObjectiveC-1RQA2RIXJIE19.pcm: No such file or directory
while processing /Users/zrh/Documents/app-ios/Pods/GTSDK/libGeTuiSdk-1.4.2.a(GTXReachability.o):
warning: /var/folders/_k/7t70yqjd7cv2mgtf6j0ltxfc0000gn/C/org.llvm.clang.gexin/ModuleCache/1OMS5IXFPHADG/Darwin-38I6DLZ5IH61J.pcm: No such file or directory
while processing /Users/zrh/Documents/app-ios/Pods/GTSDK/libGeTuiSdk-1.4.2.a(GTXReachability.o):
warning: /var/folders/_k/7t70yqjd7cv2mgtf6j0ltxfc0000gn/C/org.llvm.clang.gexin/ModuleCache/1OMS5IXFPHADG/CoreFoundation-J9ZOXGK4ZTRR.pcm: No such file or directory
while processing /Users/zrh/Documents/app-ios/Pods/GTSDK/libGeTuiSdk-1.4.2.a(GTXReachability.o):
warning: /var/folders/_k/7t70yqjd7cv2mgtf6j0ltxfc0000gn/C/org.llvm.clang.gexin/ModuleCache/1OMS5IXFPHADG/SystemConfiguration-354UAJE49HRJF.pcm: No such file or directory
while processing /Users/zrh/Documents/app-ios/Pods/GTSDK/libGeTuiSdk-1.4.2.a(GTXCaptureTool.o):
warning: /var/folders/_k/7t70yqjd7cv2mgtf6j0ltxfc0000gn/C/org.llvm.clang.gexin/ModuleCache/1OMS5IXFPHADG/CoreGraphics-N94D31PLFESQ.pcm: No such file or directory
while processing /Users/zrh/Documents/app-ios/Pods/GTSDK/libGeTuiSdk-1.4.2.a(GTXCryptoTool.o):
warning: /var/folders/_k/7t70yqjd7cv2mgtf6j0ltxfc0000gn/C/org.llvm.clang.gexin/ModuleCache/1OMS5IXFPHADG/Security-T0W5HZGV3ZZ1.pcm: No such file or directory
sdk 你是官方的工作人员 还是 继承自己的呢?
2.5.10.0 不支持bitcode。 这情何以堪啊
为什么在GTSDK.podspec
加入了对CoreBluetooth
的依赖?
s.frameworks = 'SystemConfiguration', 'CFNetwork','CoreTelephony','CoreLocation','AVFoundation','CoreBluetooth','Security','JavaScriptCore'
s.ios.frameworks = 'SystemConfiguration', 'CFNetwork','CoreTelephony','CoreLocation','AVFoundation','CoreBluetooth','Security','JavaScriptCore'
还有CoreLocation
的依赖,麻烦说明下,个推哪些模块需要这些框架?😡
静态库包有将近30M的大小,建议使用submodule将静态库放到国内的托管平台,不然会导致下载速度非常慢,有时候要下载几个小时。
我使用的个推1.5.3版本
有10个这样的Warning
warning: /var/folders/nm/y29gjrfd64b8b8y0cgx5hhbc0000gn/C/org.llvm.clang.zhaowei/ModuleCache/2VU6G8UDA25RM/CoreFoundation-271U74KHGUIO4.pcm: No such file or directory
静态库Release的时候把Enable module debug 选项关了,OK?
issues test issues test issues test
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/2CU2DKZ06QD2L/Darwin-38I6DLZ5IH61J.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/1OMS5IXFPHADG/Foundation-3DFYNEBRQSXST.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/1OMS5IXFPHADG/ObjectiveC-1RQA2RIXJIE19.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/1OMS5IXFPHADG/CoreFoundation-J9ZOXGK4ZTRR.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/1OMS5IXFPHADG/UIKit-1V5UHAPTOD24G.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/1OMS5IXFPHADG/AVFoundation-2W8OQOO5E005V.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/1OMS5IXFPHADG/SystemConfiguration-354UAJE49HRJF.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/1OMS5IXFPHADG/Darwin-38I6DLZ5IH61J.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/1OMS5IXFPHADG/MapKit-THDG17AXS092.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/1OMS5IXFPHADG/AdSupport-N94D31PLFESQ.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/1OMS5IXFPHADG/CoreTelephony-E0K26IE3JFHL.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/1OMS5IXFPHADG/CoreBluetooth-14O21S15A37HY.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/1OMS5IXFPHADG/CoreLocation-2RB9TGORWT0YQ.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/1OMS5IXFPHADG/JavaScriptCore-N94D31PLFESQ.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/100AUKYLSMXVN/Foundation-3DFYNEBRQSXST.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/100AUKYLSMXVN/Security-T0W5HZGV3ZZ1.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/100AUKYLSMXVN/CoreFoundation-J9ZOXGK4ZTRR.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/100AUKYLSMXVN/Darwin-38I6DLZ5IH61J.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/100AUKYLSMXVN/ObjectiveC-1RQA2RIXJIE19.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/1OMS5IXFPHADG/CoreGraphics-N94D31PLFESQ.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/1OMS5IXFPHADG/QuartzCore-23I9VTX2KZMTH.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/1OMS5IXFPHADG/CFNetwork-3188M7OK0JW08.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/2CU2DKZ06QD2L/CoreFoundation-J9ZOXGK4ZTRR.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/2CU2DKZ06QD2L/MachO-1BMJAO5Q3NM3O.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/2CU2DKZ06QD2L/ObjectiveC-1RQA2RIXJIE19.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/2CU2DKZ06QD2L/CoreGraphics-N94D31PLFESQ.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/2CU2DKZ06QD2L/Dispatch-2LX9MWM6UEPQW.pcm: No such file or directory
warning: /Users/gexin/Library/Developer/Xcode/DerivedData/ModuleCache/1OMS5IXFPHADG/Security-T0W5HZGV3ZZ1.pcm: No such file or directory
错误信息:
ITMS-90562: Invalid Bundle - The app cannot be processed because options not allowed to be embedded in bitcode are detected in the submission. It is likely that you are not building the app with the toolchain provided in Xcode. Rebuild your entire app with the latest GM Xcode and submit the app again.
把版本将会2.5.9.0后,处理成功了。
就是Podfile里加上
use_frameworks!
使用动态库这种方式能支持吗?
版本号不符合版本号语义标准,无法通过版本号的方式指定引用
GTSDK与Realm用pod同时导入会导致Reaml崩溃
在xcode15.3会导致Realm崩溃
在xcode14.3.1则不会崩溃
pod 'GTSDK', '~> 1.4.3'
会产生大量warning
objc[78553]: Class GXUpdateDConfigAction is implemented in both /Users/coldmn3/Library/Developer/Xcode/DerivedData/MLearning-bdavrkkfwjdovnaossewogvoqiiw/Build/Products/Debug-iphonesimulator/MLearning_Common.framework/MLearning_Common and /Users/coldmn3/Library/Developer/CoreSimulator/Devices/77C4A1CA-65C1-4D8D-9EE1-1D6A0FCD02B7/data/Containers/Bundle/Application/D568A2D4-0D8E-4382-862C-FB59681D4283/MLearning_iPhone.app/MLearning_iPhone. One of the two will be used. Which one is undefined.
objc[78553]: Class GXJSModuleManager is implemented in both /Users/coldmn3/Library/Developer/Xcode/DerivedData/MLearning-bdavrkkfwjdovnaossewogvoqiiw/Build/Products/Debug-iphonesimulator/MLearning_Common.framework/MLearning_Common and /Users/coldmn3/Library/Developer/CoreSimulator/Devices/77C4A1CA-65C1-4D8D-9EE1-1D6A0FCD02B7/data/Containers/Bundle/Application/D568A2D4-0D8E-4382-862C-FB59681D4283/MLearning_iPhone.app/MLearning_iPhone. One of the two will be used. Which one is undefined.
pod 'YYModel'
pod 'GTSDK'
一片警告,自己去掉YYModel,项目找不到文件,可以适配下吗
更新最新版本SDK试试看,如果问题还是不能解决,可以通过个推官网联系技术支持,让他们协助解决问题
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.