CodeCanyon
CodeCanyon
Code
Code
Code
Code
Code
Code

Gems | iOS Universal Geolocation Hunting Game Template (Swift)

Gems | iOS Universal Geolocation Hunting Game Template (Swift)











Oct 6th 2017
• Edited the Location Privacy Usage keys into Info.plist.
So right-click on Info.plist in Xcode, Open As -> Source code, and replace the existing 
     <key>NSLocation... rows with this code:
     <key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
     <string>Your Current Location is needed to play this game</string>
     <key>NSLocationWhenInUseUsageDescription</key>
     <string>Your Current Location is needed to play this game</string>
     <key>NSLocationAlwaysUsageDescription</key>
     <string>Your Current Location is needed to play this game</string>
     <key>NSLocationUsageDescription</key>
     <string>Your Current Location is needed to play this game</string>

In this way, the Location permission alert will show up on devices with iOS versions older than iOS 11
Sep 24th 2017
• Updated to Xcode 9, Swift 4, iOS 11
• Set Swift 3 @objc Inference as Default in Build Settings
• Added 3 lines of code into 'signupButt()' method in SignUp.swift that save a default avatar in the User class 
• Edited the 2 Privacy Location keys in Info.plist
• Added a 1125x2436px png image (iPhone X launch image) into Assets.xcassets -> Brand Assets image set
• Adjusted some views in the Storyboard, because of iPhone X layout 
• Edited the 'func showBanner()' methods in order to display banner ads properly in iPhone X
• Unchecked the Runtime API Checking in the Scheme -> Diagnostics, accordingly to this post: https://stackoverflow.com/a/44392584/3724800



Gems is a Universal Game Template with geolocation where you have to collect as many gems as you can around your area. The app gets your current location when you sign up for the first time and randomly generates a few new Gems around your area, so you can walk or drive around to get closer and get them. once you’ve collected all gems of a round, the app gets your current location again and generates other Gems, so you don’t have to manually insert them into your own parse Dashboard.
This game has a built-in Top Hunters leaderboard where you can see scores from all users around the world and where they got their Gems.
You can edit your Identity (username and avatar image)m check and share your Statistics on social networks, Mail and SMS.

Since its backend is by Parse you don’t have to buy any domain/hosting, there are NO php files to upload to a web server so you’ll save some money for sever side.

Gems is a native XCode project, Swift language, Storyboard, Universal, super easy to customize, backend with Parse SDK hosted on http://back4app.com




About Parse SDK and back4app

Read this article for more info about back4app and Parse SDK: https://hubpages.com/technology/Parse-SDK-will-not-shutdown-in-thanks-to-back4app

Can I host Parse Server on my own server?

Yes, although I don’t provide support for the setup process, you can read the official Guide here: http://parseplatform.org

I get a Code signing error in Xcode 8.x

That’s a bug of Xcode 8 with macOS Sierra, check this sample video to see how to fix it: https://youtu.be/z2LemT1_LqA

How to remove AdMob banner ads

Check this video out to see how to remove the code that shows AdMob banners: https://youtu.be/e-HQYnta2Jg Keep in mind that you must repeat the shown steps for every .swift file that contains this line on the top:
import GoogleMobileAds

What about free support for this template?

I can offer free support for bugs encountered in the original code. Instead, if you’ve edited the code and messed something up with it, I may apply some fee to fix it either via TeamViewer or by checking your app project files directly on my computer.

Should I use the latest version of Xcode to edit this template?

Yes, I always update my apps to the latest version of the IDE.






  • XCode 8.x project – Swift – 64bit
  • 8.0+ – Universal – Storyboard
  • AdMob banners
  • gems get randomly generated based on your current location
  • Find Gems in the Map
  • Collect Gems and climb the Top Hunters leaderboard
  • PDF User Guide and PSD included
  • Easy to customize | Well commented code


  • Apple Mac with its latest OS version installed
  • The latest version of Xcode and some knowledge about its UI interface
  • Photoshop or any other image editor software
  • An Apple Developer account to submit apps to the App Store
  • An AdMob account to generate your own banner UNIT ID
  • A free account on back4app.com









We’ve recently found out that some developers have bought our app templates, reskinned them just a bit and put them on sale on other source code markets similar to CodeCanyon, saying that they developed and own such source codes.
That is a serious copyright infringement, developers who buy our templates are allowed to reskin and sell them as apps on the App Store (accordingly to the License type they’ve purchased a template for), but are not allowed to put our original source codes for sale on source code markets, including CodeCanyon. We will report developers who made copyright infringements to the competent authorities. Thanks.

by
by
by
by
by
by