mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-06-16 21:50:57 +00:00
Only impose app store restrictions on release builds
This commit is contained in:
@@ -113,6 +113,7 @@ static const char* TAG_APP_INSTALL_PATH = "AppInstallPath";
|
|||||||
|
|
||||||
xmlFreeDoc(docPtr);
|
xmlFreeDoc(docPtr);
|
||||||
|
|
||||||
|
#ifdef ENABLE_APP_STORE_RESTRICTIONS
|
||||||
// APP STORE REVIEW COMPLIANCE
|
// APP STORE REVIEW COMPLIANCE
|
||||||
//
|
//
|
||||||
// Remove default Steam entry from the app list to comply with Apple App Store Guideline 4.2.7d:
|
// 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];
|
[_appList removeObject:manuallyAddedSteamApp];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSSet*) getAppList {
|
- (NSSet*) getAppList {
|
||||||
|
|||||||
@@ -1253,7 +1253,10 @@
|
|||||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||||
GCC_NO_COMMON_BLOCKS = YES;
|
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_64_TO_32_BIT_CONVERSION = YES;
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||||
|
|||||||
Reference in New Issue
Block a user