From 54a02d647740c4ec1dd26c84da970f338207b502 Mon Sep 17 00:00:00 2001 From: wutian Date: Tue, 21 Mar 2017 11:37:23 +0800 Subject: [PATCH] Added warning about simulators --- IPAPatch-DummyApp/ProjectConfigurationWarning.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/IPAPatch-DummyApp/ProjectConfigurationWarning.hpp b/IPAPatch-DummyApp/ProjectConfigurationWarning.hpp index 93208d1..05fb110 100644 --- a/IPAPatch-DummyApp/ProjectConfigurationWarning.hpp +++ b/IPAPatch-DummyApp/ProjectConfigurationWarning.hpp @@ -15,6 +15,7 @@ #define ProjectConfigurationWarning_hpp #include +#include // compares two strings in compile time constant fashion constexpr bool strings_equal(char const * a, char const * b) { @@ -30,5 +31,8 @@ static_assert(!strings_equal(TARGET_BUNDLE_ID_STRING, "com.wutian.example"), "Yo // ⚠️ Note: "com.wutian.example" is placeholder bundleID for the result app, you should change it to your own and fixes the signing issues (if any), in the "IPAPatch-DummyApp - Project - General tab" // ⚠️ Note: The BundleDisplayName of DummyApp will used as prefix of the final name. +#if TARGET_OS_SIMULATOR +#error Simulators is not supported, Please select a real device from Xcode toolbar. +#endif #endif /* ProjectConfigurationWarning_hpp */