# How to Write an iOS App That Uses a Web Service

**URL:** <https://forums.kodeco.com/t/how-to-write-an-ios-app-that-uses-a-web-service/6367>\
**Category:** 🎓 Courses & Articles\
**Created:** [March 4, 2016, 10:40am UTC](https://forums.kodeco.com/t/how-to-write-an-ios-app-that-uses-a-web-service/6367 "2016-03-04T10:40:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rwenderlich](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/rwenderlich/32/108604_2.png) [@rwenderlich](https://forums.kodeco.com/u/rwenderlich)\
**Post date:** [March 4, 2016, 10:40am UTC](https://forums.kodeco.com/t/how-to-write-an-ios-app-that-uses-a-web-service/6367/1 "2016-03-04T10:40:36Z")

</div>

A tutorial on how to write an iOS App that uses a web service. Comes with a companion tutorial showing you how to make the web service itself!

* * *
 This is a companion discussion topic for the original entry at [https://www.raywenderlich.com/3088-how-to-write-an-ios-app-that-uses-a-web-service](https://www.raywenderlich.com/3088-how-to-write-an-ios-app-that-uses-a-web-service)

---

<div class="post-metadata">

**Author:** ![psychopsam](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/psychopsam/32/30790_2.png) [@psychopsam](https://forums.kodeco.com/u/psychopsam)\
**Post date:** [April 16, 2016, 2:44pm UTC](https://forums.kodeco.com/t/how-to-write-an-ios-app-that-uses-a-web-service/6367/2 "2016-04-16T14:44:11Z")

</div>

Hi,

Thanks for the resource, but if I download the project or build it in Xcode 7 iOS 9.1 it has heaps of errors. Also it uses libz.1.2.3.dylib which I think it supposes to be replaced with libz.1.2.5.tbd.

Unsupported compiler ‘com.apple.compilers.llvmgcc42’ selected for architecture ‘i386’  
Unable to determine concrete GCC compiler for file /Users/Andy/Downloads/PromoTest/PromoTest/main.m of type sourcecode.c.objc.  
Unable to determine concrete GCC compiler for file /Users/Andy/Downloads/PromoTest/PromoTest/PromoTestAppDelegate.m of type sourcecode.c.objc.  
Unable to determine concrete GCC compiler for file /Users/Andy/Downloads/PromoTest/PromoTest/PromoTestViewController.m of type sourcecode.c.objc.  
Unable to determine concrete GCC compiler for file /Users/Andy/Downloads/PromoTest/NSObject+JSON.m of type sourcecode.c.objc.  
Unable to determine concrete GCC compiler for file /Users/Andy/Downloads/PromoTest/SBJsonParser.m of type sourcecode.c.objc.  
Unable to determine concrete GCC compiler for file /Users/Andy/Downloads/PromoTest/SBJsonStreamParser.m of type sourcecode.c.objc.  
Unable to determine concrete GCC compiler for file /Users/Andy/Downloads/PromoTest/SBJsonStreamParserAdapter.m of type sourcecode.c.objc.  
Unable to determine concrete GCC compiler for file /Users/Andy/Downloads/PromoTest/SBJsonStreamParserState.m of type sourcecode.c.objc.  
Unable to determine concrete GCC compiler for file /Users/Andy/Downloads/PromoTest/SBJsonStreamWriter.m of type sourcecode.c.objc.  
Unable to determine concrete GCC compiler for file /Users/Andy/Downloads/PromoTest/SBJsonStreamWriterState.m of type sourcecode.c.objc.  
Unable to determine concrete GCC compiler for file /Users/Andy/Downloads/PromoTest/SBJsonTokeniser.m of type sourcecode.c.objc.  
Unable to determine concrete GCC compiler for file /Users/Andy/Downloads/PromoTest/SBJsonWriter.m of type sourcecode.c.objc.  
Unable to determine concrete GCC compiler for file /Users/Andy/Downloads/PromoTest/ASIAuthenticationDialog.m of type sourcecode.c.objc.  
Unable to determine concrete GCC compiler for file /Users/Andy/Downloads/PromoTest/ASIDataCompressor.m of type sourcecode.c.objc.  
Unable to determine concrete GCC compiler for file /Users/Andy/Downloads/PromoTest/ASIDataDecompressor.m of type sourcecode.c.objc.  
Unable to determine concrete GCC compiler for file /Users/Andy/Downloads/PromoTest/ASIDownloadCache.m of type sourcecode.c.objc.  
Unable to determine concrete GCC compiler for file /Users/Andy/Downloads/PromoTest/ASIFormDataRequest.m of type sourcecode.c.objc.  
Unable to determine concrete GCC compiler for file /Users/Andy/Downloads/PromoTest/ASIHTTPRequest.m of type sourcecode.c.objc.  
Unable to determine concrete GCC compiler for file /Users/Andy/Downloads/PromoTest/ASIInputStream.m of type sourcecode.c.objc.  
Unable to determine concrete GCC compiler for file /Users/Andy/Downloads/PromoTest/ASINetworkQueue.m of type sourcecode.c.objc.  
Unable to determine concrete GCC compiler for file /Users/Andy/Downloads/PromoTest/Reachability.m of type sourcecode.c.objc.  
Unable to determine concrete GCC compiler for file /Users/Andy/Downloads/PromoTest/MBProgressHUD.m of type sourcecode.c.objc.

---

<div class="post-metadata">

**Author:** ![hhh](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/hhh/32/31066_2.png) [@hhh](https://forums.kodeco.com/u/hhh)\
**Post date:** [April 22, 2016, 5:31am UTC](https://forums.kodeco.com/t/how-to-write-an-ios-app-that-uses-a-web-service/6367/3 "2016-04-22T05:31:20Z")

</div>

It does work becuase this code is written in Objective C, and Xcode 7 is Swift 1 & 2.0 based. You will have to use an older version of Xcode to use that framework.

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [November 16, 2017, 3:27pm UTC](https://forums.kodeco.com/t/how-to-write-an-ios-app-that-uses-a-web-service/6367/4 "2017-11-16T15:27:46Z")

</div>

This tutorial is more than six months old so questions are no longer supported at the moment for it. We will update it as soon as possible. Thank you! :]

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [November 16, 2017, 3:27pm UTC](https://forums.kodeco.com/t/how-to-write-an-ios-app-that-uses-a-web-service/6367/5 "2017-11-16T15:27:49Z")

</div>

Closed on November 16, 2017, 3:27pm UTC


