Giter Site home page Giter Site logo

Comments (8)

hao-li avatar hao-li commented on July 28, 2024 1

临时 fork 了一个改了上面那行
升级 xcode 10 的 cocoapods 朋友可以暂时使用这个

pod 'ZLaunchAd', :git => 'https://github.com/hao-li/ZLaunchAd.git', :branch => 'master'

from zlaunchad.

MQZHot avatar MQZHot commented on July 28, 2024 1

v2.0.5 支持Xcode9 和 Xcode10 了

from zlaunchad.

susuyan avatar susuyan commented on July 28, 2024

手动替换 https://github.com/soffes/CommonCrypto

from zlaunchad.

hao-li avatar hao-li commented on July 28, 2024

@susuyan 不知道有没有正确理解您的意思

使用
https://github.com/soffes/CommonCrypto/blob/master/CommonCrypto/commoncrypto.modulemap

替换了
./Pods/ZLaunchAd/ZLaunchAd/CCommonCrypto/module.modulemap
(https://github.com/MQZHot/ZLaunchAd/blob/master/ZLaunchAd/CCommonCrypto/module.modulemap)

仍然报错,甚至多了一条Redefinition of module 'CommonCrypto'

Showing All Messages
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk/usr/include/CommonCrypto/module.modulemap:1:8: Redefinition of module 'CommonCrypto'

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk/usr/include/CommonCrypto/module.modulemap:1:8: Redefinition of module 'CommonCrypto'

Could not build Objective-C module 'ZLaunchAd'

from zlaunchad.

448486810 avatar 448486810 commented on July 28, 2024

升级Xcode10之后也报同样的错误

from zlaunchad.

susuyan avatar susuyan commented on July 28, 2024

我是手动引入该库的,然后,替换那个commoncrypto.modulemap文件。
2018-09-19 20 19 01

我的也是 Xcode 10,目前是解决了的

MD5里引用得修改下 import CommonCrypto

from zlaunchad.

hao-li avatar hao-li commented on July 28, 2024

@susuyan 这个库里没有找到您说的 commoncrypto.modulemap 文件,只找到了 module.modulemap

这两个文件引用的 header 在实质内容上是相同的,所以我并没有替换,只是将下面这行改为了 import CommonCrypto 后,编译成功

import CCommonCrypto


建议 @MQZHot 处理下以方便 cocoapods 的使用者
(手边没有 xcode 9 的环境了,所以没测试上述修改对这部分用户的影响)

from zlaunchad.

hao-li avatar hao-li commented on July 28, 2024

XCode 10 升级后试验成功

from zlaunchad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.