Comments (8)
临时 fork 了一个改了上面那行
升级 xcode 10 的 cocoapods 朋友可以暂时使用这个
pod 'ZLaunchAd', :git => 'https://github.com/hao-li/ZLaunchAd.git', :branch => 'master'
from zlaunchad.
v2.0.5 支持Xcode9 和 Xcode10 了
from zlaunchad.
手动替换 https://github.com/soffes/CommonCrypto
from zlaunchad.
@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.
升级Xcode10之后也报同样的错误
from zlaunchad.
我是手动引入该库的,然后,替换那个commoncrypto.modulemap文件。
我的也是 Xcode 10,目前是解决了的
MD5里引用得修改下 import CommonCrypto
from zlaunchad.
@susuyan 这个库里没有找到您说的 commoncrypto.modulemap
文件,只找到了 module.modulemap
这两个文件引用的 header
在实质内容上是相同的,所以我并没有替换,只是将下面这行改为了 import CommonCrypto
后,编译成功
ZLaunchAd/ZLaunchAd/ZLaunchAdMD5.swift
Line 11 in 9985673
建议 @MQZHot 处理下以方便 cocoapods 的使用者
(手边没有 xcode 9 的环境了,所以没测试上述修改对这部分用户的影响)
from zlaunchad.
XCode 10 升级后试验成功
from zlaunchad.
Related Issues (20)
- 进不去 HOT 1
- carthage xcode10 报错 HOT 1
- 不支持swift4.2
- TabbarController是不是不能用你的框架,似乎只有NavigationController才适用。 HOT 1
- 设置等待时间为1s ,图片加载不出来是什么原因呢 HOT 3
- 首次广告页还是会,一闪而过,不知道怎么定位问题呢
- 加载广告,还是会出现一闪而过,这种问题
- please fix compile wrong by CocoaPods in Xcode 10.2.1 and Swift 5
- 代码更新有问题和master不一致 HOT 1
- 内存暴涨能看下嘛
- 卡在广告页,不得动弹
- 网络不好导致的卡在广告页
- pod下来不是最新的 HOT 2
- 带倒计时的跳过按钮显示不全
- please support Swift Package Manager HOT 1
- 跳过 显示不全 , 如果网络不好时,会卡在开屏页,可否提供主动关闭的方法 HOT 1
- ZLaunchAd 網絡不好的時候 會閃退
- iOS15 有崩溃 能看下吗
- 提几点优化建议:
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zlaunchad.