Issue in integration of JIRA mobile connect in iOS 10+ xcode 9

I want to integrate Jira mobile connect with an ongoing project written in swift 3.

Using carthage getting the following logs:

/usr/bin/xcrun xcodebuild -workspace /Users/gauravsharma-xft-ggn/Desktop/TEST/Carthage/Checkouts/jiraconnect-apple/JIRAMobileConnect/JIRAMobileConnect.xcworkspace -scheme JIRAMobileConnect -configuration Release -derivedDataPath /Users/gauravsharma-xft-ggn/Library/Caches/org.carthage.CarthageKit/DerivedData/8.3.3_8E3004b/jiraconnect-apple/2.0.0-alpha.9 -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath ./ SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO (launched in /Users/gauravsharma-xft-ggn/Desktop/TEST/Carthage/Checkouts/jiraconnect-apple)User defaults from command line:
IDEArchivePathOverride = /Users/gauravsharma-xft-ggn/Desktop/TEST/Carthage/Checkouts/jiraconnect-apple
IDEDerivedDataPathOverride = /Users/gauravsharma-xft-ggn/Library/Caches/org.carthage.CarthageKit/DerivedData/8.3.3_8E3004b/jiraconnect-apple/2.0.0-alpha.9

Build settings from command line:
BITCODE_GENERATION_MODE = bitcode
CARTHAGE = YES
CLANG_ENABLE_CODE_COVERAGE = NO
CODE_SIGN_IDENTITY =
CODE_SIGNING_REQUIRED = NO
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = NO
ONLY_ACTIVE_ARCH = NO
SDKROOT = iphoneos10.3
SKIP_INSTALL = YES

--- xcodebuild: WARNING: Unable to open project file '/Users/gauravsharma-xft-ggn/Desktop/TEST/Carthage/Checkouts/jiraconnect-apple/JIRAMobileConnect/JMCPlayground.playground' in workspace '/Users/gauravsharma-xft-ggn/Desktop/TEST/Carthage/Checkouts/jiraconnect-apple/JIRAMobileConnect/JIRAMobileConnect.xcworkspace'.
=== BUILD TARGET Alamofire iOS OF PROJECT Alamofire WITH CONFIGURATION Release ===

Check dependencies
“Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
“Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.

=== BUILD TARGET WebImage OF PROJECT SDWebImage WITH CONFIGURATION Release ===
Check dependencies

Write auxiliary files
/bin/mkdir -p /Users/gauravsharma-xft-ggn/Library/Caches/org.carthage.CarthageKit/DerivedData/8.3.3_8E3004b/jiraconnect-apple/2.0.0-alpha.9/Build/Intermediates/ArchiveIntermediates/JIRAMobileConnect/IntermediateBuildFilesPath/SDWebImage.build/Release-iphoneos/WebImage.build/DerivedSources
write-file /Users/gauravsharma-xft-ggn/Library/Caches/org.carthage.CarthageKit/DerivedData/8.3.3_8E3004b/jiraconnect-apple/2.0.0-alpha.9/Build/Intermediates/ArchiveIntermediates/JIRAMobileConnect/IntermediateBuildFilesPath/SDWebImage.build/Release-iphoneos/WebImage.build/DerivedSources/WebImage_vers.c
write-file /Users/gauravsharma-xft-ggn/Library/Caches/org.carthage.CarthageKit/DerivedData/8.3.3_8E3004b/jiraconnect-apple/2.0.0-alpha.9/Build/Intermediates/ArchiveIntermediates/JIRAMobileConnect/IntermediateBuildFilesPath/SDWebImage.build/Release-iphoneos/WebImage.build/WebImage.hmap
/bin/mkdir -p /Users/gauravsharma-xft-ggn/Library/Caches/org.carthage.CarthageKit/DerivedData/8.3.3_8E3004b/jiraconnect-apple/2.0.0-alpha.9/Build/Intermediates/ArchiveIntermediates/JIRAMobileConnect/IntermediateBuildFilesPath/SDWebImage.build/Release-iphoneos/WebImage.build/Objects-normal/armv7
write-file /Users/gauravsharma-xft-ggn/Library/Caches/org.carthage.CarthageKit/DerivedData/8.3.3_8E3004b/jiraconnect-apple/2.0.0-alpha.9/Build/Intermediates/ArchiveIntermediates/JIRAMobileConnect/IntermediateBuildFilesPath/SDWebImage.build/Release-iphoneos/WebImage.build/Objects-normal/armv7/WebImage.LinkFileList
write-file /Users/gauravsharma-xft-ggn/Library/Caches/org.carthage.CarthageKit/DerivedData/8.3.3_8E3004b/jiraconnect-apple/2.0.0-alpha.9/Build/Intermediates/ArchiveIntermediates/JIRAMobileConnect/IntermediateBuildFilesPath/SDWebImage.build/Release-iphoneos/WebImage.build/WebImage-all-non-framework-target-headers.hmap
write-file /Users/gauravsharma-xft-ggn/Library/Caches/org.carthage.CarthageKit/DerivedData/8.3.3_8E3004b/jiraconnect-apple/2.0.0-alpha.9/Build/Intermediates/ArchiveIntermediates/JIRAMobileConnect/IntermediateBuildFilesPath/SDWebImage.build/Release-iphoneos/WebImage.build/module.modulemap
/bin/mkdir -p /Users/gauravsharma-xft-ggn/Library/Caches/org.carthage.CarthageKit/DerivedData/8.3.3_8E3004b/jiraconnect-apple/2.0.0-alpha.9/Build/Intermediates/ArchiveIntermediates/JIRAMobileConnect/IntermediateBuildFilesPath/SDWebImage.build/Release-iphoneos/WebImage.build/Objects-normal/arm64
write-file /Users/gauravsharma-xft-ggn/Library/Caches/org.carthage.CarthageKit/DerivedData/8.3.3_8E3004b/jiraconnect-apple/2.0.0-alpha.9/Build/Intermediates/ArchiveIntermediates/JIRAMobileConnect/IntermediateBuildFilesPath/SDWebImage.build/Release-iphoneos/WebImage.build/Objects-normal/arm64/WebImage.LinkFileList
write-file /Users/gauravsharma-xft-ggn/Library/Caches/org.carthage.CarthageKit/DerivedData/8.3.3_8E3004b/jiraconnect-apple/2.0.0-alpha.9/Build/Intermediates/ArchiveIntermediates/JIRAMobileConnect/IntermediateBuildFilesPath/SDWebImage.build/Release-iphoneos/WebImage.build/WebImage-own-target-headers.hmap
write-file /Users/gauravsharma-xft-ggn/Library/Caches/org.carthage.CarthageKit/DerivedData/8.3.3_8E3004b/jiraconnect-apple/2.0.0-alpha.9/Build/Intermediates/ArchiveIntermediates/JIRAMobileConnect/IntermediateBuildFilesPath/SDWebImage.build/Release-iphoneos/WebImage.build/WebImage-generated-files.hmap
write-file /Users/gauravsharma-xft-ggn/Library/Caches/org.carthage.CarthageKit/DerivedData/8.3.3_8E3004b/jiraconnect-apple/2.0.0-alpha.9/Build/Intermediates/ArchiveIntermediates/JIRAMobileConnect/IntermediateBuildFilesPath/SDWebImage.build/Release-iphoneos/WebImage.build/WebImage-project-headers.hmap
write-file /Users/gauravsharma-xft-ggn/Library/Caches/org.carthage.CarthageKit/DerivedData/8.3.3_8E3004b/jiraconnect-apple/2.0.0-alpha.9/Build/Intermediates/ArchiveIntermediates/JIRAMobileConnect/IntermediateBuildFilesPath/SDWebImage.build/Release-iphoneos/WebImage.build/WebImage-all-target-headers.hmap
write-file /Users/gauravsharma-xft-ggn/Library/Caches/org.carthage.CarthageKit/DerivedData/8.3.3_8E3004b/jiraconnect-apple/2.0.0-alpha.9/Build/Intermediates/ArchiveIntermediates/JIRAMobileConnect/IntermediateBuildFilesPath/SDWebImage.build/all-product-headers.yaml

Create product structure
/bin/mkdir -p /Users/gauravsharma-xft-ggn/Library/Caches/org.carthage.CarthageKit/DerivedData/8.3.3_8E3004b/jiraconnect-apple/2.0.0-alpha.9/Build/Intermediates/ArchiveIntermediates/JIRAMobileConnect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/WebImage.framework
/bin/mkdir -p /Users/gauravsharma-xft-ggn/Library/Caches/org.carthage.CarthageKit/DerivedData/8.3.3_8E3004b/jiraconnect-apple/2.0.0-alpha.9/Build/Intermediates/ArchiveIntermediates/JIRAMobileConnect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/WebImage.framework/Headers

** ARCHIVE FAILED **

Using cocoa pods 

I tried - pod 'JIRAMobileConnect', '2.1.0-alamofire3'

But it gives me compiler error in alamofire.

Screen Shot 2017-11-10 at 11.35.47 AM.png

I have already spent too much time. Please, if there is anyone who can help or guide me. Looking forward for responses. 

2 answers

0 vote

This is a question for a Swift forum really. 

We're Atlassian users and developers, not Swift coders.  Your code is failing to build because of something you've done wrong in Swift.

Yes, I know you're using Jira mobile connect, and we'd be able to help if the errors were there, but your code is not even starting to look at the call outs to the REST API in Jira.

0 vote

@Gaurav Sharma

The repository is very outdated. You can see in the repo issues that other users are facing the same problem.

It's not something you are doing wrong in Swift. It's just the fact that this project is a bit abandoned.

https://bitbucket.org/atlassian/jiraconnect-apple/issues

I've downloaded the source code to use Swift 4 and the latest version of Alamofire. I will not post the code somewhere because it is a little bit unstable.

But I can give you the source if you want. Just DM me.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,331 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot