I am creating a statistical calculator app. It has various functions. I am creating the functions in a cocoapod framework. How can we test or debug a library framework while we develop it? That means every time without copying it to the demo/test project.
Debug a framework while developing
442 Views Asked by Vinod At
1
There are 1 best solutions below
Related Questions in SWIFT
- Overlapping UICollectionView in storyboard
- Cannot pod spec lint because of undeclared type errors
- Swift code with multiple NSDateFormatter - optimization
- How do I add multiple in app purchases in Swift Spritekit?
- cellForRowAtIndexPath and prepareForSegue return different label colors
- Getting this message in my console in xcode "Ignoring restoreCompletedTransactionsWithApplicationUsername: because already restoring transactions"?
- Change background of an Accessory View in a UITableViewCell
- fade in an bounce animation subview
- Create a PFObject and PFRelation after PFUser Sign Up
- Swift 2 - Pattern matching in "if"
- How do I give inputs through NSURL
- How do I add custom cells to TableView in Swift?
- UIWebView not loading URL in simulator
- Compiler complains that 'Expression resolved to unused function' when removing index in array of functions
- Cast from 'Int?' to unrelated type 'NSNumber' always fails
Related Questions in COCOAPODS
- Cannot pod spec lint because of undeclared type errors
- CocoaPods Failed to Lint A Podspec Due to Objective-C Generated Interface Header Not Found
- Cocoapods library not found for apple watch extensions
- PureLayout in Swift with Cocoapods
- Can't find Pods.modulemap - looking in wrong directory
- Update AWSS3 with Cocoapods
- Error installing cocoapods: Failed to build gem native extension
- Google Maps 1.10.1 iOS with cocoapods giving duplicate symbol error
- install cocoapods library with specific name
- How to use YouTube iOS player helper with use_frameworks! with CocoaPods
- Google Sign in CocoaPods Install in Swift?
- How to remove Cocoa-Pod from project?
- Getting error in Adjust library, Integrated with Pods
- Cocoapods generate bad xcconfig file - no header search path
- Google Map flickering in iOS
Related Questions in IOS-FRAMEWORKS
- iOS Framework - Loaded the nib but the view outlet was not set
- Can't include Objective-C .framework in Xcode 7 UI test target?
- Framework products location
- Creating iOS/OSX Frameworks: is it necessary to codesign them before distributing to other developers?
- reference a storyboard from inside a framework
- Swift framework how to run and test
- importing swift framework into a objective-c project
- Swift structs: no type named 'Business' in module
- How to strip Cocoa Touch Frameworks
- OpenCV 3.0-dev for iOS
- Determining if iOS frameworks are actually needed
- Xcode Framework goes missing after relaunch. Why?
- Adding a framework to existing project
- iOS 8 Dynamic Framework: Library Not Loaded
- Static lib with CocoaPods dependencies
Related Questions in SWIFT-FRAMEWORK
- Unable to load module map in Swift Dynamic Framework
- Create a Swift framework with submodules
- How to add a thirdparty SDK (multiple .framework files) to react native library module?
- Swift framework - Use Swift class reference in Objective-C class
- Swift framework - Objective-C header not found
- Get URL path from UIImage - Framework ImagePicker
- OpenSSL fails to compile for swift framework
- Swift Version Conflict: this SDK is not supported by the compiler - using BUILD_LIBRARY_FOR_DISTRIBUTION setting. What could be the issue?
- SwiftUI Preview not finding image of used framework
- Debug a framework while developing
- Possible to create a function that returns PickerView with data?
- Hide source code in swift framework when distributing
- Carthage static frameworks dSYMs
- Converting Swift project into an easy-to-use framework for Cocoapods
- How to add a reference (instead of copy) of a custom iOS framework in a project
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?
In your framework project, in Xcode add a target for testing. Press File > New > Target... > iOS Unit Testing Bundle.
This will create a test target for you. You can run this target at any time. Also, a swift file with a subclass of
XCTestCase. This class has all functions necessary for testing, such assetUp(),testExample()ortestPerformanceExample(). You can read how to use this in the XCTest framework reference.