我的情况是,我正在尝试为我的应用程序实施应用程序更新notification
。我尝试了Siren
Pod,但显示为no module found
。请为我提供解决方案或替代性想法。
Siren Pod
在这里,安装Pod后我也得到了No Module Found
。
Import Siren // No module found
答案 0 :(得分:0)
您打开了<!-- HEADER -->
<div class="headercontainer">
<div class="header">
<div class="headerleft">
</div>
<div class="headercenter">
<div class="logocontainer">
<img src="" class="logo">
<!-- insert logo here -->
</div>
</div>
<div class="headerright">
</div>
</div>
</div>
<!-- END HEADER -->
<!-- CONTENT -->
<div class="contentcontainer">
<div class="content">
<div class="contentleft">
</div>
<div class="contentcenter">
<h1>“Wij organiseren events, kom je <u><b><a href="">dansen</a></b></u>?”</h1>
<!--Insert ticket link here-->
</div>
<div class="contentright">
</div>
</div>
</div>
<!-- END CONTENT -->
<!-- FOOTER -->
<div class="footercontainer">
<div class="footer">
<div class="footerleft">
</div>
<div class="footercenter">
<h2>
<a href="">FACEBOOK</a> <span class="x">x</span> <a href="">INSTAGRAM</a> <span class="x">x</span> <a href="">SPOTIFY</a> <span class="x">x</span> <a href="">TICKETS</a>
<span class="x">x</span> <span class="x">x</span> <span class="x">x</span> PRIVACY POLICY <span class="x">x</span> FAQ <span class="x">x</span> JOBS
</h2>
</div>
<div class="footerright">
</div>
</div>
</div>
<!-- END FOOTER -->
或.xcworkspace
吗?如果您不小心打开了.xcodeproj
,就会收到此错误消息。
在Siren installation instructions之后,您将在“终端”窗口中执行以下操作。具体来说,如果您尚未创建.xcodeproj
,则:
Podfile
您可以编辑$ cd MyApp
$ pod init
,如下所示:
Podfile
然后您可以从“终端”安装您的Cocoapods:
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'MyApp' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for MyApp
pod 'Siren'
end
注意警告:
请从现在开始关闭所有当前的Xcode会话,并为此项目使用
$ pod install Analyzing dependencies Downloading dependencies Installing Siren (4.2.1) Generating Pods project Integrating client project [!] Please close any current Xcode sessions and use `MyApp.xcworkspace` for this project from now on. Sending stats Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed. [!] Automatically assigning platform `ios` with version `12.1` on target `MyApp` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
。
现在打开工作区,而不是MyApp.xcworkspace
:
.xcodeproj