I have created a framework with bundle files. Bundle files are under resource folder inside the framework. So my problem was whenever someone need to integrate the framework in their project then they have to drag and drop the bundle file from framework resource folder to project. Is possible to programmatically link the framework resource file and read it inside the project?
iOS framework resource files
2.8k Views Asked by V V At
1
There are 1 best solutions below
Related Questions in FRAMEWORKS
- MonoDB JS libraries
- adding framework to Xcode 7
- does semantic ui framework support rtl languages?
- Underscore _.findWhere not finding element in array when it exists
- Architecture for creating a JavaScript framework
- iOS 8+ framework with nested embedded framework
- How to design tree in meteor framework?
- Yii2 : Cannot Show Data in Widget GridView
- CakePHP find WHERE NOT EQUAL
- Yii 1.1.3 framework. Make and existing image to be uploaded like
- iOS framework resource files
- Migrate web application to PHP Framework
- yii2 error when trying to install all generats files
- Getting Framework related warning in Xcode 7.0
- Ember js default bundle
Related Questions in STATIC-LIBRARIES
- Disable OpenCL in OpenCV completely
- How do i use a bunch of .h and .cpp files to create a static library that can be used in another c++ Project
- Android NDK - Including prebuilt static libraries gives undefined reference errors
- iOS framework resource files
- How can I add a static library to Android NDK using the build.gradle file?
- Compiling a static version of wxWidgets
- A lot of undefined reference errors when using wxWidgets(3.0.2) as static build
- Prebuilding different kind of static library in Android NDK
- C++ Library distribution with a Main()
- Static library link issue with Mac OS X: symbol(s) not found for architecture x86_64
- Compile Curl Visual Studio - unresolved external symbol
- VS2012 Identifer not found when part of static lib
- Best way to extend a method of Google library
- Embendding Python 3.4 into MacOS app
- Creating LSD-SLAM static library for iOS
Related Questions in NSBUNDLE
- iOS framework resource files
- Putting .xib files in a resource bundle with images
- How mainBundle() return on object in swift or objective-c?
- Bad instruction NSDATA with gif file Swift
- Save/Copy a file from Bundle to Desktop using NSSavePanel
- Correct way to get Application directory path in Mac App
- Loading Xib on UIView causing all the other components inside UIViewController hide
- Cocoapod bundle not available in my app
- NSBundle error Xcode 8
- NSBundle pathForResource doesn't work for subdirectory localization?
- NSBundle is Not Loading - ObjectiveC
- Loading NSBundle files iOS
- NSBundle UIImage nil iOS 7 specific
- Playing Random Audio File using Swift
- Objective C - Error loading bundle
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
To include the resource bundle, select the target of your framework, and in the Build Phases > Copy bundle resources, click on the + button and add any resource bundle which you wish to have packaged into your framework.
When you build the framework, the resource will be copied. Make sure that this file exists though or you'll get a build error.
If you go in "Edit Schemes" for your framework project, in the "Build" section, you can add the resource file, so that when you will build the framework, it will also rebuild the resource bundle.