美文网首页Bug(代码)
关于 was build for newer iOS vers

关于 was build for newer iOS vers

作者: IceWall_Rin | 来源:发表于2017-04-05 16:17 被阅读11次

    This appears to be a known bug in Xcode 7.0 and 7.1B1 (bug #21813082).

    As a temporary workaround, to suppress extensive warnings, the -w flag can be added to Build Settings -> Other Linker Flags:

    Select your Project

    Select your Target

    Select "Build Settings" tab

    Scroll down to "Linking"

    Edit "Other Linker Flags" and add "-w"

    I've only added this to the Debug build settings and inserted the following to the AppDelegate, just as reminder:

    #ifdef DEBUG

    #warning Linker warnings suppressed (-w in build settings)

    #endif

    This at least helps to quickly spot the real warnings instead of having the build results flooded with the same warning for every source (in my case 150+ warnings appeared).

    相关文章

      网友评论

        本文标题:关于 was build for newer iOS vers

        本文链接:https://www.haomeiwen.com/subject/mecxattx.html