If you wish to use the Applanga iOS framework in an Xcode subproject (dynamic or static lib), then you need to tell your Podfile
about those projects.
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
#source "https://github.com/CocoaPods/Old-Specs"
#link_with 'MyTestApp'
def myPods
use_frameworks!
pod 'Applanga'
end
workspace 'MyTestApp.xcworkspace'
target 'MyTestApp' do
myPods
end
target 'MyStaticSubProject' do
myPods
project 'MyStaticSubProject/MyStaticSubProject'
end
target 'MyDynamicSubProject' do
myPods
project 'MyStaticSubProject/MyStaticSubProject'
end
The important part is to make sure you specify in the Podfile
exactly where your target sub project is. That way it will install those pods for the sub project too.
If you wish to localise a .strings file within a dynamic library/sub project, then all you need to do is add the following field to your main targets info.plist file.
key=ApplangaAdditionalFrameworks value=NameOfYourSubProject
Then Applanga will automatically find and localise string files within the sub project.
Static libraries can not contain .strings files so that setting is not needed there.
A guide for using Over-the-Air updates and pluralization with React-Native and Applanga
Read the Full ArticleAre you wondering which keys stored in your Applanga projects are actually used in your app and which ones are just dead weight?
Read the Full Article