-
Notifications
You must be signed in to change notification settings - Fork 158
Configuration
Kjuly edited this page Jan 30, 2013
·
4 revisions
-
Get the client & server source code:
$ git clone -b dev --recursive git://github.com/Kjuly/iPokeMon.git iPokeMon $ git clone -b dev --recursive git://github.com/Kjuly/iPokeMon-Server.git iPokeMon-Server
-
Run local server:
$ cd iPokeMon-Server $ redis-server /etc/redis.conf $ python server.py
-
Open "iPokeMon/iPokeMon.xcodeproj", and make sure the
KY_LOCAL_SERVER_ON
macro in "Config.h" is on. Build & run the client to test it locally.
Basic | ||
---|---|---|
MACRO | Description | Default Value |
KY_ICLOUD_ENABLED | iCloud Service | ON |
KY_COPY_COREDATA_IF_NOT_EXIST | Copy CoreData from bundle if it not exists | ON |
Dev | ||
KY_TAKE_LAUNCH_SCREENSHOT | Take screenshow for launch image | OFF |
KY_POPULATE_COREDATA | Populate CoreData from plist files | OFF |
KY_LOCAL_SERVER_ON | Use local server for testing | OFF |
KY_TESTFLIGHT_ON | Turn on TestFlight | OFF |
KY_SESSION_MODE_ON | Turn on session mode | ON |
LBS | ||
KY_CORELOCATION_ON | Turn on Core Lcation service | ON |
KY_LOCATION_SERVICE_LOW_BATTERY_MODE_ON | Turn on low battery mode for location service | ON |
KY_PLAYER_MOVEMENT_SIMULATION_ON | Turn on palyer movement simulation | OFF |
Game Testing | ||
KY_DEFAULT_VIEW_GAME_BATTLE_ON | Set game battle view as the default view | OFF |
KY_SUPER_POKEMON_MODE_ON | Turn on super PokeMon mode | OFF |
Note: You'd better only turn KY_ICLOUD_ENABLED
, KY_COPY_COREDATA_IF_NOT_EXIST
, KY_ICLOUD_ENABLED
, KY_SESSION_MODE_ON
, KY_CORELOCATION_ON
on when you release the binary.
iOS 5.0 SDK or later.
-
$ git update-index --assume-unchanged Pokemon/Config.*
If it is need to do some modification, start tracking changes again by
$ git update-index --no-assume-unchanged Pokemon/Config.*