Skip to content

Commit

Permalink
Added warning about simulators
Browse files Browse the repository at this point in the history
  • Loading branch information
wutian committed Mar 21, 2017
1 parent a6d50f6 commit 54a02d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions IPAPatch-DummyApp/ProjectConfigurationWarning.hpp
Expand Up @@ -15,6 +15,7 @@
#define ProjectConfigurationWarning_hpp

#include <stdio.h>
#include <TargetConditionals.h>

// compares two strings in compile time constant fashion
constexpr bool strings_equal(char const * a, char const * b) {
Expand All @@ -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 */

0 comments on commit 54a02d6

Please sign in to comment.