Only impose app store restrictions on release builds
This commit is contained in:
parent
fb9d778dab
commit
06a4ced692
2 changed files with 6 additions and 1 deletions
|
|
@ -113,6 +113,7 @@ static const char* TAG_APP_INSTALL_PATH = "AppInstallPath";
|
|||
|
||||
xmlFreeDoc(docPtr);
|
||||
|
||||
#ifdef ENABLE_APP_STORE_RESTRICTIONS
|
||||
// APP STORE REVIEW COMPLIANCE
|
||||
//
|
||||
// Remove default Steam entry from the app list to comply with Apple App Store Guideline 4.2.7d:
|
||||
|
|
@ -146,6 +147,7 @@ static const char* TAG_APP_INSTALL_PATH = "AppInstallPath";
|
|||
[_appList removeObject:manuallyAddedSteamApp];
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
- (NSSet*) getAppList {
|
||||
|
|
|
|||
|
|
@ -1253,7 +1253,10 @@
|
|||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_NO_COMMON_BLOCKS = YES;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = NDEBUG;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
NDEBUG,
|
||||
ENABLE_APP_STORE_RESTRICTIONS,
|
||||
);
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
|
|
|
|||
Loading…
Reference in a new issue