BuildIOS.h 795 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
  2. // Please see LICENSE.md in repository root for license information
  3. // https://github.com/AtomicGameEngine/AtomicGameEngine
  4. #pragma once
  5. #include "BuildBase.h"
  6. namespace AtomicEditor
  7. {
  8. class BuildIOS : public BuildBase
  9. {
  10. OBJECT(BuildIOS);
  11. public:
  12. BuildIOS(Context* context);
  13. virtual ~BuildIOS();
  14. void Build(const String& buildPath);
  15. protected:
  16. void Initialize();
  17. private:
  18. void HandleEvent(StringHash eventType, VariantMap& eventData);
  19. enum BuildPhase
  20. {
  21. ConvertPList,
  22. CodeSign,
  23. Deploy,
  24. };
  25. void RunConvertPList();
  26. void RunCodeSign();
  27. String GenerateEntitlements();
  28. String GenerateInfoPlist();
  29. BuildPhase currentBuildPhase_;
  30. };
  31. }