{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/Tweaks/issues/109","repository_url":"https://api.github.com/repos/facebook/Tweaks","labels_url":"https://api.github.com/repos/facebook/Tweaks/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/facebook/Tweaks/issues/109/comments","events_url":"https://api.github.com/repos/facebook/Tweaks/issues/109/events","html_url":"https://github.com/facebook/Tweaks/issues/109","id":171650919,"number":109,"title":"Inline Tweaks do not work on Xcode 8 / iOS 10","user":{"login":"coreyfloyd","id":64771,"avatar_url":"https://avatars.githubusercontent.com/u/64771?v=3","gravatar_id":"","url":"https://api.github.com/users/coreyfloyd","html_url":"https://github.com/coreyfloyd","followers_url":"https://api.github.com/users/coreyfloyd/followers","following_url":"https://api.github.com/users/coreyfloyd/following{/other_user}","gists_url":"https://api.github.com/users/coreyfloyd/gists{/gist_id}","starred_url":"https://api.github.com/users/coreyfloyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreyfloyd/subscriptions","organizations_url":"https://api.github.com/users/coreyfloyd/orgs","repos_url":"https://api.github.com/users/coreyfloyd/repos","events_url":"https://api.github.com/users/coreyfloyd/events{/privacy}","received_events_url":"https://api.github.com/users/coreyfloyd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-17T12:58:55Z","updated_at":"2016-08-23T01:08:57Z","closed_at":null,"body":"It appears that the inline macros are no longer storing the data in mach-o. So none of the tweaks registered with Macros are being loaded at run time.\r\n\r\nI'm not very familiar with mach-o, so I'm not sure how to fix it. Does anyone have any ideas on how to go about it?"},"comment":{"url":"https://api.github.com/repos/facebook/Tweaks/issues/comments/241598135","html_url":"https://github.com/facebook/Tweaks/issues/109#issuecomment-241598135","issue_url":"https://api.github.com/repos/facebook/Tweaks/issues/109","id":241598135,"user":{"login":"bryanboyko","id":8292189,"avatar_url":"https://avatars.githubusercontent.com/u/8292189?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanboyko","html_url":"https://github.com/bryanboyko","followers_url":"https://api.github.com/users/bryanboyko/followers","following_url":"https://api.github.com/users/bryanboyko/following{/other_user}","gists_url":"https://api.github.com/users/bryanboyko/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanboyko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanboyko/subscriptions","organizations_url":"https://api.github.com/users/bryanboyko/orgs","repos_url":"https://api.github.com/users/bryanboyko/repos","events_url":"https://api.github.com/users/bryanboyko/events{/privacy}","received_events_url":"https://api.github.com/users/bryanboyko/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T01:08:57Z","updated_at":"2016-08-23T01:08:57Z","body":"I've also noticed this happening and I'm on XCode 7.3.1 and iOS 9.3.2.  The issue appears to be becuase of the pod version and not the XCode or device version. (I've been testing with 'Tweaks', '~> 2.0')\r\n\r\nI noticed that the Tweaks example project was working fine and compared the difference in implementation between FBTweakInline.m in the example project and version 2.0 from pods. In the file from pods, in method + (void)load, section is NULL\r\n\r\n```\r\n  const fb_tweak_section *section = fb_tweak_getsectbynamefromheader((void *)mach_header, FBTweakSegmentName, FBTweakSectionName);\r\n  \r\n  if (section == NULL) {\r\n    return;\r\n  }\r\n```\r\n\r\nReplacing the code in FBTweakInline.m from the pod with code from the same file in the example projects solves the issue"}}
{"actor":{"display_login":"bryanboyko"}}