Xcode 7 warnings: object file was built for newer iOS version than being linked

前端 未结 6 755
后悔当初
后悔当初 2020-12-14 14:21

I recently integrated Google Cloud Messaging into an app targeting iOS 7 and iOS 8. Just grabbed Xcode 7 beta 4 to get started on iOS 9 support, and now I\'m getting an erro

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-14 14:39

    This just means that one of the libraries(Protocol Buffers here) GCM depends on was built for 8.3 although it's compatible with the min sdk version of GCM i.e. 7.0. XCode 7 is just more severe and reports it as a warning but it was always there just not being reported by previous versions.

    Overall this is just harmless, everything should work fine. Also there is not much that you can do unless Google patches GCM by building all of it's dependencies with the min sdk version (7.0).

提交回复
热议问题