Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bugfender/bugfendersdk-ios-swift-sample
Example code using Bugfender in Swift iOS
https://github.com/bugfender/bugfendersdk-ios-swift-sample
Last synced: 2 days ago
JSON representation
Example code using Bugfender in Swift iOS
- Host: GitHub
- URL: https://github.com/bugfender/bugfendersdk-ios-swift-sample
- Owner: bugfender
- License: apache-2.0
- Created: 2015-05-07T15:33:09.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-27T16:21:24.000Z (over 7 years ago)
- Last Synced: 2024-03-27T12:55:06.239Z (8 months ago)
- Language: Swift
- Homepage: http://bugfender.com/
- Size: 11.8 MB
- Stars: 1
- Watchers: 9
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BugfenderSDK-iOS-swift-sample
Example code using Bugfender in Swift iOS.[![Build Status](https://travis-ci.org/bugfender/BugfenderSDK-iOS-swift-sample.svg)](https://travis-ci.org/bugfender/BugfenderSDK-iOS-swift-sample)
## How to Build
### Manual build
- In order to build this example you need to install [CocoaPods](https://cocoapods.org) to download the needed dependencies (libraries) for this example.
- Once you have CocoaPods installed, go to the project's root and type in Terminal:
`pod install`
- Always open `BugfenderSDK-iOS-swift-sample.xcworkspace`, not the project alone, as this project needs all libraries downloaded by CocoaPods (and they're reference in the Workspace)
- For this App to do something useful, you need to:
- create an account in [BugFender](https://app.bugfender.com)
- create an App in your account. You'll get a Key for that App.
- Go to the `AppDelegate.swift` file and change the line:```swift
let yourBugFenderAppKey = "xxxxxxxxxxxxx" //TODO: insert your key here!
```add here the key you got before
### Fastlane build
- you can also build / test this App using [Fastlane Tools](https://fastlane.tools)
- install Fastlane (`sudo gem install fastlane`)
- go to the project's directory
- run 'fastlane build` | `fastlane test``$ fastlane test`
Installs pods, compiles & runs all tests
`$ fastlane build`
Installs pods, cleans previous compilations, bumps build number, compiles for the iOS simulator
## Xcode 8 / iOS 10 building on device
If you open this project with Xcode 8 you'll see an error stating that:
> Signing for "BugfenderSDK-iOS-swift-sample" requires a development team. Select a development team in the project editor.
Code signing is required for product type 'Application' in SDK 'iOS 10.0'This means that you need to code-sign your binary if you want to run it on a real device (iPhone, iPad, etc.)
So go to the project (BugfenderSDK-iOS-swift-sample blue icon), then select both targets (application & tests), and in General tab select a Team in Signing.
If you're going to run this App in the simulator this is not needed