|
/

iOS打包release版本的过程中提示warning

K可爱的麦兜
发布于 5 年前
556
应用性能监控 U-APM
SDK集成与升级

提示的warning 如下:

第1种

ld: warning: ignoring invalid debug info in /Users/.../Pods/UMDevice/UMDevice_2.2.1/UMDevice.framework/UMDevice(UMDevice99999999.o)

第2种

warning: (armv7) could not find object file symbol for symbol +[WPKWALogManager sharedInstance]

warning: (armv7) could not find object file symbol for symbol ___33+[WPKWALogManager sharedInstance]_block_invoke

warning: (armv7) could not find object file symbol for symbol -[WPKWALogManager init]

warning: (armv7) could not find object file symbol for symbol -[WPKWALogManager createWaFileHandle]

warning: (armv7) could not find object file symbol for symbol ___37-[WPKWALogManager createWaFileHandle]_block_invoke

warning: (armv7) could not find object file symbol for symbol -[WPKWALogManager commonFields]

warning: (armv7) could not find object file symbol for symbol -[WPKWALogManager fieldsToString:]

warning: (armv7) could not find object file symbol for symbol ___34-[WPKWALogManager fieldsToString:]_block_invoke

warning: (armv7) could not find object file symbol for symbol -[WPKWALogManager fieldsToEncryptData:]

warning: (armv7) could not find object file symbol for symbol -[WPKWALogManager waDataToEncryptAndGzipData:]

warning: (armv7) could not find object file symbol for symbol -[WPKWALogManager reqParams]

warning: (armv7) could not find object file symbol for symbol -[WPKWALogManager uploadWAData]

warning: (armv7) could not find object file symbol for symbol ___31-[WPKWALogManager uploadWAData]_block_invoke

warning: (armv7) could not find object file symbol for symbol -[WPKWALogManager appendInfo:]

warning: (armv7) could not find object file symbol for symbol ___30-[WPKWALogManager appendInfo:]_block_invoke

warning: (armv7) could not find object file symbol for symbol -[WPKWALogManager start]

warning: (armv7) could not find object file symbol for symbol -[WPKWALogManager recordCrash:scn:cty:]

warning: (armv7) could not find object file symbol for symbol -[WPKWALogManager recordStuck:]

warning: (armv7) could not find object file symbol for symbol -[WPKWALogManager recordUVCoverage:]

第3种

warning: (arm64) could not find object file symbol for symbol +[WPKWALogManager sharedInstance]

warning: (arm64) could not find object file symbol for symbol ___33+[WPKWALogManager sharedInstance]_block_invoke

warning: (arm64) could not find object file symbol for symbol -[WPKWALogManager init]

warning: (arm64) could not find object file symbol for symbol -[WPKWALogManager createWaFileHandle]

warning: (arm64) could not find object file symbol for symbol ___37-[WPKWALogManager createWaFileHandle]_block_invoke

warning: (arm64) could not find object file symbol for symbol -[WPKWALogManager commonFields]

warning: (arm64) could not find object file symbol for symbol -[WPKWALogManager fieldsToString:]

warning: (arm64) could not find object file symbol for symbol ___34-[WPKWALogManager fieldsToString:]_block_invoke

warning: (arm64) could not find object file symbol for symbol -[WPKWALogManager fieldsToEncryptData:]

warning: (arm64) could not find object file symbol for symbol -[WPKWALogManager waDataToEncryptAndGzipData:]

warning: (arm64) could not find object file symbol for symbol -[WPKWALogManager reqParams]

warning: (arm64) could not find object file symbol for symbol -[WPKWALogManager uploadWAData]

warning: (arm64) could not find object file symbol for symbol ___31-[WPKWALogManager uploadWAData]_block_invoke

warning: (arm64) could not find object file symbol for symbol -[WPKWALogManager appendInfo:]

warning: (arm64) could not find object file symbol for symbol ___30-[WPKWALogManager appendInfo:]_block_invoke

warning: (arm64) could not find object file symbol for symbol -[WPKWALogManager start]

warning: (arm64) could not find object file symbol for symbol -[WPKWALogManager recordCrash:scn:cty:]

warning: (arm64) could not find object file symbol for symbol -[WPKWALogManager recordStuck:]

warning: (arm64) could not find object file symbol for symbol -[WPKWALogManager recordUVCoverage:]

集成方式是通过cocoapods集成的

5个回答
 
5 年前

warning没关系的,不影响打包

 
5 年前

APM 的 SDK 问题,正常编译debug也是一堆警告,不影响正式使用,但是有强迫症的看着挺难受的,得等官方优化了。

 
5 年前

你这边是编译可以成功但是许多warning出现吧。

Loading ...
登录社区,分享你的经验