相关疑难解决方法(0)

Pod安装,依赖性`*****`不用于任何具体目标

我有另一个项目,当我安装pod时,控制台告诉我:

Analyzing dependencies
[!] The dependency `MMDrawerController (~> 0.5.7)` is not used in any concrete target.
The dependency `ViewUtils` is not used in any concrete target.
The dependency `CPAnimationSequence` is not used in any concrete target.
The dependency `iCarousel` is not used in any concrete target.
The dependency `BlocksKit (~> 2.2.5)` is not used in any concrete target.
The dependency `AFNetworking` is not used in any concrete target.
The dependency `MBProgressHUD (~> 0.8)` is not used in any concrete target. …
Run Code Online (Sandbox Code Playgroud)

ios cocoapods cocoapods-1.1.1

25
推荐指数
2
解决办法
2万
查看次数

使用框架在app扩展中使用Cocoapods

我有一个用Swift编写的应用程序(我们称之为MyApp),其中包含以下目标:

  • MyApp :主要目标
  • MyAppKit :构建应用程序及其扩展之间共享的代码框架的目标,主要是API后端和数据库处理
  • MyAppWidget:一个使用MyAppKit框架的Today View Widget(或者现在叫做的任何东西).

MyAppKit框架被链接到使用它,即每个目标MyAppMyAppWidget.输入Cocoapods:我曾经有过以下的Podfile结构:

platform :ios, '8.0'
use_frameworks!

target 'MyApp' do
    # Mostly UI or convenience pods
    pod 'Eureka', '~> 2.0.0-beta'
    pod 'PKHUD', '~> 4.0'
    pod '1PasswordExtension', '~> 1.8'
end

target 'MyAppKit' do
    # Backend pods for networking, storage, etc.
    pod 'Alamofire', '~> 4.0'
    pod 'Fuzi', '~> 1.0'
    pod 'KeychainAccess', '~> 3.0'
    pod 'RealmSwift', '~> 2.0'
    pod 'Result', '~> 3.0'
end

target 'MyAppWidget' do
    # Added …
Run Code Online (Sandbox Code Playgroud)

ios cocoapods swift

14
推荐指数
2
解决办法
1万
查看次数

用户未在Share App Extension中登录Firebase

我正在我的应用程序共享扩展程序中进行一些API Firebase调用(下载一些用户特定数据)但用户未登录到Firebase(也currentUser就是nil),所以我没有得到任何数据,因为我需要uid.换句话说,数据库仅允许经过身份验证的用户访问数据.我怎样才能解决这个问题?

ios firebase swift

8
推荐指数
1
解决办法
906
查看次数

标签 统计

ios ×3

cocoapods ×2

swift ×2

cocoapods-1.1.1 ×1

firebase ×1