{"action":"created","issue":{"url":"https://api.github.com/repos/openfl/openfl/issues/1132","repository_url":"https://api.github.com/repos/openfl/openfl","labels_url":"https://api.github.com/repos/openfl/openfl/issues/1132/labels{/name}","comments_url":"https://api.github.com/repos/openfl/openfl/issues/1132/comments","events_url":"https://api.github.com/repos/openfl/openfl/issues/1132/events","html_url":"https://github.com/openfl/openfl/issues/1132","id":154994618,"number":1132,"title":"Develop: Could not find build target \"by\" when building for iOS/tvOS","user":{"login":"tanis2000","id":287841,"avatar_url":"https://avatars.githubusercontent.com/u/287841?v=3","gravatar_id":"","url":"https://api.github.com/users/tanis2000","html_url":"https://github.com/tanis2000","followers_url":"https://api.github.com/users/tanis2000/followers","following_url":"https://api.github.com/users/tanis2000/following{/other_user}","gists_url":"https://api.github.com/users/tanis2000/gists{/gist_id}","starred_url":"https://api.github.com/users/tanis2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanis2000/subscriptions","organizations_url":"https://api.github.com/users/tanis2000/orgs","repos_url":"https://api.github.com/users/tanis2000/repos","events_url":"https://api.github.com/users/tanis2000/events{/privacy}","received_events_url":"https://api.github.com/users/tanis2000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-16T09:40:17Z","updated_at":"2016-05-16T20:37:17Z","closed_at":null,"body":"It looks like the Stage object isn't implementing the methods defined by Lime's IModule interface:\r\n\r\n```\r\nhaxe Build.hxml -D HXCPP_ARM64 -cpp build/Release-appletvos-64\r\n/Users/tanis/Documents/openfl/openfl/display/Stage.hx:69: lines 69-1480 : Field addRenderer needed by lime.app.IModule is missing\r\n/Users/tanis/Documents/openfl/openfl/display/Stage.hx:69: lines 69-1480 : Field addWindow needed by lime.app.IModule is missing\r\n/Users/tanis/Documents/openfl/openfl/display/Stage.hx:69: lines 69-1480 : Field registerModule needed by lime.app.IModule is missing\r\n/Users/tanis/Documents/openfl/openfl/display/Stage.hx:69: lines 69-1480 : Field removeRenderer needed by lime.app.IModule is missing\r\n/Users/tanis/Documents/openfl/openfl/display/Stage.hx:69: lines 69-1480 : Field removeWindow needed by lime.app.IModule is missing\r\n/Users/tanis/Documents/openfl/openfl/display/Stage.hx:69: lines 69-1480 : Field setPreloader needed by lime.app.IModule is missing\r\n/Users/tanis/Documents/openfl/openfl/display/Stage.hx:69: lines 69-1480 : Field unregisterModule needed by lime.app.IModule is missing\r\n```"},"comment":{"url":"https://api.github.com/repos/openfl/openfl/issues/comments/219540109","html_url":"https://github.com/openfl/openfl/issues/1132#issuecomment-219540109","issue_url":"https://api.github.com/repos/openfl/openfl/issues/1132","id":219540109,"user":{"login":"tanis2000","id":287841,"avatar_url":"https://avatars.githubusercontent.com/u/287841?v=3","gravatar_id":"","url":"https://api.github.com/users/tanis2000","html_url":"https://github.com/tanis2000","followers_url":"https://api.github.com/users/tanis2000/followers","following_url":"https://api.github.com/users/tanis2000/following{/other_user}","gists_url":"https://api.github.com/users/tanis2000/gists{/gist_id}","starred_url":"https://api.github.com/users/tanis2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanis2000/subscriptions","organizations_url":"https://api.github.com/users/tanis2000/orgs","repos_url":"https://api.github.com/users/tanis2000/repos","events_url":"https://api.github.com/users/tanis2000/events{/privacy}","received_events_url":"https://api.github.com/users/tanis2000/received_events","type":"User","site_admin":false},"created_at":"2016-05-16T20:37:17Z","updated_at":"2016-05-16T20:37:17Z","body":"I'm adding the solution to the first issue as suggested by @ibilon:\r\njust add `-D source-header=\"haxe\"` to the command line to have the source header without spaces (the \"Generated by Haxe\" that comes with a Haxe installation coming from the compilation of git HEAD.\r\n\r\nThis, in turn, gives the following new error:\r\n\r\n```\r\nHaxe device build: Release-iphoneos-v7\r\nhaxe Build.hxml -D HXCPP_ARMV7 -cpp build/Release-iphoneos-v7\r\n--macro:1: character 0 : Package \"ios\" was not found in any of class paths\r\nmake: *** [build-haxe-armv7] Error 1\r\n```\r\n\r\nMy Build.hxml contains:\r\n\r\n```\r\n-main ApplicationMain \r\n-cp /Users/tanis/Documents/openfl\r\n-D openfl=4.0.0\r\n-cp /Users/tanis/Documents/lime\r\n-D lime=2.9.1\r\n-cp ../../../../\r\n-cp ../../../../Source\r\n-D lime-openal\r\n-D source-header=haxe\r\n-D openfl-next\r\n-D tools=2.9.1\r\n-D lime-cairo\r\n-D no-compilation\r\n-D lime-opengl\r\n-D native\r\n-D lime-native\r\n-D lime-curl\r\n-D openfl-native\r\n-D \r\n-D ios\r\n-D mobile\r\n--remap flash:openfl\r\n-D iphone\r\n-D ios\r\n--macro keep(\"Main\")\r\n-D no-compilation\r\n```"}}