Skip to content

Commit

Permalink
Fix: Invalid Bundle - A nested bundle contains simulator platform lis…
Browse files Browse the repository at this point in the history
…ted in CFBundleSupportedPlatforms Info.plist key.
  • Loading branch information
webcpu committed Dec 13, 2017
1 parent 9d3db00 commit 9b655f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ getSupportedPlatforms xcodeScheme = do

getSupportedPlatforms' :: (MonadError (BuildError String) m) => XcodeScheme -> (ExitCode, String, String) -> m [String]
getSupportedPlatforms' xcodeScheme (ExitSuccess, output, error) = case value of
Just xs -> return $ reverse $ words xs
Just xs -> return $ List.sort $ words xs
Nothing -> throwError $ CreateBuildOptionSetsNoneSupportedPlatformsError ("scheme = " ++ error)
where value = lookupBuildSettings "SUPPORTED_PLATFORMS" output
getSupportedPlatforms' xcodeScheme (_, output, error) = throwError $ CreateBuildOptionSetsNoneSupportedPlatformsError (debugInfo xcodeScheme ++ " , " ++ error)
Expand Down

0 comments on commit 9b655f7

Please sign in to comment.