Include container inside frame: file not found

I use framework goals (for better code reuse and IB_Designables), and I already had the target platform working perfectly. I decided to move some other classes to the target frame environment.

I installed containers (only one in this case), but whenever I try to turn on the module, I do not get an error.

enter image description here

No changes if I try to use the module approach too:

enter image description here

The problem is that I already have another structure with the same settings (cross-checking all compiler parameters / linker flags / assembly phases, etc.), and there is no problem importing my modules in this structure.

Here is my podfile ( TUComponentsworks, TUModelsis unsuccessful):

[...]
target 'TUComponents' do


    pod 'AHKNavigationController'
    pod 'TTTAttributedLabel'

    use_frameworks!


end

target 'TUModels' do


    pod 'JSONModel'

    use_frameworks!


end

; Xcode , JSONModel/JSONModel.h ( JSONModel @import). , .

?

:. , , YES, . , Pod.

+4
4

, : https://www.natashatherobot.com/cocoapods-installing-same-pod-multiple-targets/

platform :ios, '9.0'

use_frameworks!

# My other pods

def testing_pods
    pod 'JSONModel'
end

target 'TUComponents' do
    pod 'AHKNavigationController'
    pod 'TTTAttributedLabel'
    testing_pods
end

target 'TUModels' do
    testing_pods
end
+2

Xcode

0

iOS - CocoaPods :

, link_with , . Cocoapods . .

platform :osx, '10.7'
pod 'JSONKit',       '~> 1.4'

link_with 'Pomo', 'Pomo Dev', 'Pomo Tests'
0

:

  • Xcode n
0

Source: https://habr.com/ru/post/1679077/


All Articles